:root {
  --navy: #071d37;
  --navy-2: #0c2a4b;
  --blue: #0878cf;
  --blue-2: #12a6df;
  --orange: #f7a10a;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dfe5ec;
  --soft: #f4f7fa;
  --white: #ffffff;
  --success: #147a4c;
  --danger: #a43c32;
  --shadow: 0 18px 44px rgba(7, 29, 55, .10);
  --shadow-sm: 0 8px 24px rgba(7, 29, 55, .08);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1220px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(247,161,10,.65); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 800;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 850px); margin-inline: auto; }
.section { padding: 88px 0; }
.section.compact { padding: 58px 0; }
.section.soft { background: var(--soft); }
.section.navy { color: var(--white); background: var(--navy); }
.section.blue { color: var(--white); background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section.navy .eyebrow, .section.blue .eyebrow { color: #bfeaff; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--navy); line-height: 1.08; letter-spacing: -.035em; }
.section.navy h1, .section.navy h2, .section.navy h3,
.section.blue h1, .section.blue h2, .section.blue h3 { color: var(--white); }
h1 { font-size: clamp(2.5rem, 5.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1rem; }
.lede { max-width: 760px; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.section.navy .lede, .section.blue .lede { color: rgba(255,255,255,.82); }
.micro { color: var(--muted); font-size: .88rem; }
.kicker-line { width: 92px; height: 5px; margin: 23px 0; border: 0; background: var(--blue); }
.text-link { color: var(--blue); font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.inline-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: var(--white); font-size: .84rem; font-weight: 750; }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(7,29,55,.15); }
.btn-primary { color: var(--white); background: var(--blue); }
.btn-primary:hover { background: #066ab8; }
.btn-secondary { color: var(--blue); border-color: var(--blue); background: var(--white); }
.btn-secondary:hover { color: var(--white); background: var(--blue); }
.btn-orange { color: var(--navy); background: var(--orange); }
.btn-dark { color: var(--white); background: var(--navy); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.58); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.header-inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: minmax(165px, 224px) 1fr auto;
  align-items: center;
  gap: 22px;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { width: min(100%, 210px); max-height: 66px; object-fit: contain; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 3px; }
.nav-group { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 11px;
  border: 0;
  color: rgba(255,255,255,.92);
  background: transparent;
  font-size: .91rem;
  font-weight: 760;
  white-space: nowrap;
}
.nav-link:hover, .nav-trigger:hover, .nav-group:focus-within .nav-trigger { color: var(--white); background: rgba(255,255,255,.08); }
.nav-trigger::after { content: "⌄"; margin-left: 5px; font-size: .9em; }
.nav-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  display: grid;
  width: 245px;
  padding: 9px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: .16s ease;
}
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.nav-menu a { padding: 10px 12px; border-radius: 7px; font-size: .91rem; font-weight: 700; }
.nav-menu a:hover { color: var(--blue); background: var(--soft); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.header-actions .btn { min-height: 42px; padding: 10px 13px; font-size: .84rem; }
.search-button, .menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font-size: 1.2rem;
}
.search-button:hover, .menu-toggle:hover { background: rgba(255,255,255,.1); }
.menu-toggle { display: none; }
.kw-mark {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  margin-left: 5px;
  color: rgba(255,255,255,.72);
  font-size: .63rem;
  line-height: 1.15;
  text-transform: uppercase;
}
.kw-mark strong { color: var(--white); font-size: 1.08rem; letter-spacing: -.05em; text-transform: lowercase; }

.search-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: none;
  padding: 8vh 20px 30px;
  background: rgba(4,16,30,.84);
  backdrop-filter: blur(8px);
}
.search-modal.open { display: block; }
.search-panel { width: min(100%, 820px); max-height: 84vh; margin: 0 auto; overflow: auto; border-radius: 18px; background: var(--white); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.search-panel-head { position: sticky; top: 0; z-index: 2; display: flex; gap: 10px; padding: 18px; border-bottom: 1px solid var(--line); background: var(--white); }
.search-panel-head input { flex: 1; min-width: 0; padding: 14px 15px; border: 1px solid var(--line); border-radius: 9px; font-size: 1.05rem; }
.search-close { width: 48px; border: 0; border-radius: 9px; color: var(--white); background: var(--navy); font-size: 1.35rem; }
.search-results { padding: 12px 18px 24px; }
.search-result { display: block; padding: 15px 8px; border-bottom: 1px solid var(--line); }
.search-result:hover h3 { color: var(--blue); }
.search-result h3 { margin-bottom: 4px; font-size: 1.15rem; }
.search-result p { margin: 0; color: var(--muted); font-size: .92rem; }
.search-result .type { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.empty-state { padding: 34px 10px; color: var(--muted); text-align: center; }

.hero-image-shell { position: relative; overflow: hidden; background: #e7f0f7; }
.hero-image-shell img { width: 100%; height: auto; }
.hero-hotspot { position: absolute; z-index: 2; left: 4.2%; width: 23.4%; height: 7.6%; border-radius: 8px; }
.hero-hotspot.search { top: 67.5%; }
.hero-hotspot.value { top: 76.4%; }
.hero-hotspot:focus-visible { outline: 5px solid var(--orange); }
.hero-hotspot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.page-hero { position: relative; overflow: hidden; padding: 82px 0 76px; background: linear-gradient(145deg, #f6f9fc 0%, #eef6fb 62%, #dff2fb 100%); }
.page-hero::after { position: absolute; right: -120px; bottom: -190px; width: 440px; height: 440px; border-radius: 50%; background: rgba(8,120,207,.1); content: ""; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 21px; color: var(--muted); font-size: .86rem; }
.breadcrumbs a { color: var(--blue); font-weight: 720; }
.breadcrumbs span:not(:last-child)::after { content: "/"; margin-left: 7px; color: #9aa6b3; }

.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 62px; }
.intro-graphic { position: relative; min-height: 380px; display: grid; place-items: center; }
.intro-graphic::before { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: linear-gradient(135deg, rgba(8,120,207,.17), rgba(247,161,10,.14)); content: ""; }
.intro-graphic img { position: relative; width: min(84%, 380px); max-height: 370px; object-fit: contain; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.card-body { padding: 25px; }
.card-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card h3 { margin-bottom: 9px; }
.card p:last-child { margin-bottom: 0; }
.icon-card { position: relative; min-height: 255px; padding: 27px; overflow: hidden; }
.icon-card::after { position: absolute; right: -42px; bottom: -56px; width: 130px; height: 130px; border-radius: 50%; background: rgba(8,120,207,.08); content: ""; }
.icon-badge { display: grid; width: 54px; height: 54px; margin-bottom: 22px; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-size: 1.3rem; font-weight: 900; }
.team-card .card-image { aspect-ratio: 4/5; object-position: center top; }
.team-card .role { color: var(--blue); font-size: .8rem; font-weight: 830; letter-spacing: .08em; text-transform: uppercase; }
.team-card .contact-list { display: grid; gap: 5px; margin-top: 13px; font-size: .88rem; }
.placeholder-photo { display: grid; aspect-ratio: 4/5; place-items: center; color: var(--navy); background: linear-gradient(135deg, #dae8f2, #f8f9fb); font-size: 4rem; font-weight: 850; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.stat-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stat-value { display: block; color: var(--navy); font-size: clamp(1.45rem, 2.4vw, 2.15rem); font-weight: 900; line-height: 1; }
.stat-note { display: block; margin-top: 7px; color: var(--muted); font-size: .76rem; }

.process-list { display: grid; gap: 26px; }
.process-step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.process-step:nth-child(even) .process-image { order: 2; }
.process-image { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.process-copy { padding: clamp(28px, 5vw, 56px); }
.step-number { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; color: var(--white); background: var(--blue); font-weight: 900; }
.check-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { position: absolute; left: 0; top: .02em; color: var(--blue); content: "✓"; font-weight: 900; }

.form-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, fieldset legend { color: var(--navy); font-size: .89rem; font-weight: 820; }
.field input, .field select, .field textarea, .filter-input, .filter-select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd8e2;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .filter-input:focus, .filter-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,120,207,.13); outline: none; }
.field-hint { color: var(--muted); font-size: .78rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { display: none; margin-top: 15px; padding: 13px 15px; border-radius: 8px; font-weight: 700; }
.form-status.show { display: block; }
.form-status.success { color: #0a5736; background: #e4f6ed; }
.form-status.error { color: #7d2821; background: #fae7e5; }
.choice-row { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-row label { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); cursor: pointer; }
.choice-row input { width: auto; }

.calculator-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 30px; }
.calculator-results { position: sticky; top: calc(var(--header-height) + 24px); padding: 28px; border-radius: var(--radius); color: var(--white); background: var(--navy); box-shadow: var(--shadow); }
.calculator-results h2 { color: var(--white); }
.calc-big { margin: 18px 0 5px; font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 900; line-height: .95; }
.calc-sub { margin-bottom: 24px; color: rgba(255,255,255,.7); }
.result-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.16); }
.result-row strong { color: var(--white); }
.disclaimer { padding: 17px 19px; border-left: 4px solid var(--orange); border-radius: 0 8px 8px 0; color: #5f4a16; background: #fff8df; font-size: .9rem; }

.filter-bar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin: 30px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-sm); }
.filter-bar.multi { grid-template-columns: minmax(240px,1fr) minmax(200px,280px); }
.results-count { margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.community-card { display: flex; flex-direction: column; }
.community-card .card-body { display: flex; flex: 1; flex-direction: column; }
.community-card .card-actions { margin-top: auto; padding-top: 12px; }
.market-price { color: var(--navy); font-size: 1.4rem; font-weight: 900; }
.community-hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 48px; }
.community-map-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #e8f5fb; box-shadow: var(--shadow); }
.community-map-card img { width: 100%; aspect-ratio: 1.15/1; object-fit: contain; padding: 25px; }
.community-name-stamp { position: absolute; left: 20px; bottom: 20px; padding: 10px 14px; border-radius: 8px; color: var(--white); background: rgba(7,29,55,.92); font-weight: 850; }
.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.detail-block { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.detail-number { color: var(--orange); font-weight: 900; }

.journal-card { display: flex; flex-direction: column; }
.journal-card .card-body { display: flex; flex: 1; flex-direction: column; }
.journal-meta { margin-bottom: 10px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.journal-card .text-link { margin-top: auto; padding-top: 12px; }
.article-header { padding: 56px 0 38px; }
.article-header h1 { max-width: 980px; font-size: clamp(2.45rem,5vw,4.65rem); }
.article-hero { width: min(calc(100% - 40px), 1120px); margin: 0 auto 46px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-hero img { width: 100%; aspect-ratio: 1200/630; object-fit: cover; }
.article-body { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding-bottom: 80px; }
.article-body h2 { margin-top: 2em; font-size: clamp(1.85rem, 3vw, 2.55rem); }
.article-body h3 { margin-top: 1.65em; font-size: 1.35rem; }
.article-body ul, .article-body ol { padding-left: 1.2rem; }
.article-body li { margin-bottom: .55rem; }
.article-callout { margin: 28px 0; padding: 22px; border-radius: 12px; background: var(--soft); }
.article-event { margin: 24px 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.article-event h3 { margin-top: 0; }
.article-event dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; margin: 15px 0 0; }
.article-event dt { color: var(--navy); font-weight: 850; }
.article-event dd { margin: 0; }
.article-event-link { display: inline-flex; margin-top: 18px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.share-row button, .share-row a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; color: var(--navy); background: var(--white); font-size: .82rem; font-weight: 750; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; color: var(--navy); font-weight: 850; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 21px; color: var(--muted); }
.faq-category { margin: 44px 0 18px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 15px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--navy); background: var(--soft); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.video-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.video-placeholder { display: grid; min-height: 310px; place-items: center; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--white); background: linear-gradient(150deg, var(--navy), #174b76); text-align: center; }
.play-circle { display: grid; width: 64px; height: 64px; margin: 0 auto 16px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--orange); font-size: 1.35rem; }

.cta-band { position: relative; overflow: hidden; padding: 70px 0; color: var(--white); background: var(--navy); }
.cta-band::after { position: absolute; right: -90px; top: -170px; width: 400px; height: 400px; border-radius: 50%; background: rgba(18,166,223,.18); content: ""; }
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 650px; color: rgba(255,255,255,.75); }

.site-footer { padding: 64px 0 26px; color: rgba(255,255,255,.76); background: #041426; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr .9fr 1.2fr; gap: 38px; }
.footer-logo { width: 220px; margin-bottom: 15px; }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: var(--white); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social-links a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--white); font-size: .75rem; font-weight: 850; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .76rem; }

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 4000; display: none; max-width: 360px; padding: 14px 17px; border-radius: 10px; color: var(--white); background: var(--navy); box-shadow: var(--shadow); }
.toast.show { display: block; animation: toast-in .2s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.hidden { display: none !important; }

@media (max-width: 1100px) {
  :root { --header-height: 76px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .site-logo img { width: 185px; max-height: 58px; }
  .menu-toggle { display: inline-grid; }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    display: none;
    width: min(92vw, 390px);
    padding: 18px;
    overflow-y: auto;
    align-items: stretch;
    justify-content: start;
    flex-direction: column;
    background: var(--navy);
    box-shadow: -16px 20px 40px rgba(0,0,0,.3);
  }
  .site-nav.open { display: flex; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 13px 12px; }
  .nav-menu { position: static; display: none; width: auto; margin: 0 0 8px 12px; visibility: visible; opacity: 1; transform: none; box-shadow: none; }
  .nav-group.open .nav-menu { display: grid; }
  .header-actions .btn, .kw-mark { display: none; }
  .hero-hotspot { left: 4.2%; }
}

@media (max-width: 850px) {
  .section { padding: 68px 0; }
  .intro-grid, .community-hero-grid, .calculator-layout { grid-template-columns: 1fr; gap: 36px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-step { grid-template-columns: 1fr; }
  .process-step:nth-child(even) .process-image { order: 0; }
  .process-image { min-height: auto; aspect-ratio: 4/3; }
  .calculator-results { position: static; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cta-band .container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container, .narrow, .article-body, .article-hero { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 70px; }
  :root { --header-height: 70px; }
  .site-logo img { width: 150px; }
  .search-button, .menu-toggle { width: 38px; height: 38px; }
  .page-hero { padding: 58px 0; }
  .section { padding: 54px 0; }
  .grid-4, .grid-3, .grid-2, .detail-grid, .form-grid, .video-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .stat-card { padding: 17px 14px; }
  .filter-bar, .filter-bar.multi { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-image-shell { min-height: 410px; background: var(--navy); }
  .hero-image-shell img { width: 100%; height: 410px; object-fit: cover; object-position: 30% center; }
  .hero-hotspot { display: none; }
  .mobile-hero-actions { display: flex !important; position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; gap: 9px; }
  .mobile-hero-actions .btn { flex: 1; min-width: 0; padding: 11px 9px; font-size: .83rem; }
  .article-event dl { grid-template-columns: 1fr; gap: 2px; }
}

@media (min-width: 621px) { .mobile-hero-actions { display: none; } }

/* Reference-site parity layer
   Mirrors the established Goodland editorial system while keeping the
   portable site's richer routes, content, forms, search, and integrations. */
:root {
  --navy: #101112;
  --navy-2: #1f343d;
  --blue: #10a9d8;
  --blue-2: #0878cf;
  --orange: #ffad00;
  --ink: #101112;
  --muted: #5b6268;
  --line: #d7e0e4;
  --soft: #eef5f7;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(7, 38, 58, .12);
  --shadow-sm: 0 14px 35px rgba(7, 38, 58, .08);
  --radius: 0;
  --radius-sm: 4px;
  --max: 1280px;
  --header-height: 128px;
}

body {
  color: var(--ink);
  background: #faf9f5;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

.container { width: min(calc(100% - 8vw), var(--max)); }
.section { padding: 100px 0; }
.section.compact { padding: 22px 0; }
.section.soft { background: var(--soft); }
.section.blue { color: var(--ink); background: var(--white); }
.section.blue h1, .section.blue h2, .section.blue h3 { color: var(--ink); }
.section.blue .eyebrow { color: #007fa8; }
.section.blue .lede { color: var(--muted); }
.eyebrow {
  color: #007fa8;
  margin-bottom: 20px;
  font-size: .8rem;
  letter-spacing: .18em;
}
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.05em; }
h1 { font-size: clamp(3.5rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.4rem, 4.5vw, 4.25rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.lede { color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.7; }
.text-link { color: #008bb8; }

.btn {
  min-height: 58px;
  padding: 14px 30px;
  border-radius: 4px;
}
.btn-primary { background: var(--blue-2); }
.btn-primary:hover { background: #006fc7; }
.btn-secondary { color: #008bb8; border-color: var(--blue); border-radius: 4px; }
.btn-orange { color: var(--white); }
.btn-dark { background: var(--ink); }

.site-header {
  position: relative;
  z-index: 1000;
  height: var(--header-height);
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid #eeeeee;
  box-shadow: none;
}
.site-header .header-inner {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: var(--header-height);
  margin: 0;
  padding: 0 3vw;
  gap: 24px;
}
.site-logo { z-index: 2; flex: 0 0 218px; }
.site-logo img {
  width: 210px;
  max-height: none;
  object-fit: contain;
}
.site-nav {
  flex: 1 1 auto;
  gap: clamp(12px, 1.5vw, 28px);
  margin-left: auto;
}
.nav-link, .nav-trigger {
  min-height: 0;
  padding: 42px 0;
  color: var(--ink);
  background: transparent;
  font-size: clamp(.82rem, 1.05vw, 1rem);
  font-weight: 750;
}
.nav-link:hover, .nav-trigger:hover, .nav-group:focus-within .nav-trigger {
  color: #007fa8;
  background: transparent;
}
.nav-trigger::after { content: "⌄"; margin-left: 7px; }
.nav-menu {
  top: 82px;
  left: -20px;
  width: 245px;
  padding: 12px;
  border: 0;
  border-top: 4px solid var(--blue);
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(17,17,17,.13);
}
.nav-menu a { padding: 12px 14px; border-radius: 0; font-size: .88rem; }
.nav-menu a:hover { color: #007ba5; background: #f2f8fa; }
.site-nav > .nav-link { display: none; }

.header-site-search {
  z-index: 2;
  flex: 0 1 190px;
  min-width: 135px;
}
.header-site-search form {
  display: flex;
  height: 44px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #c8d7dd;
  border-radius: 4px;
  background: #f6fafb;
  transition: .2s;
}
.header-site-search form:focus-within {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16,169,216,.13);
}
.header-site-search form > span {
  color: #007fa8;
  font-size: 1.45rem;
  line-height: 1;
  transform: rotate(-15deg);
}
.header-site-search input {
  width: 100%;
  min-width: 0;
  padding: 0 7px;
  border: 0;
  outline: 0;
  color: #1f343d;
  background: transparent;
  font-size: .8rem;
}
.header-actions { gap: 12px; }
.header-actions .btn {
  min-height: 58px;
  padding: 14px 24px;
  font-size: .9rem;
}
.kw-mark {
  min-height: 44px;
  margin-left: 0;
  color: #555;
  font-size: .58rem;
}
.kw-mark strong { color: #b40101; font-size: 2rem; }
.kw-mark span { padding-left: 9px; border-left: 1px solid #d5d5d5; }
.menu-toggle {
  width: auto;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
  font-weight: 800;
}
.menu-toggle span { margin-right: 8px; }

.approved-hero { width: 100%; line-height: 0; background: var(--blue-2); }
.approved-hero > img { width: 100%; height: auto; }
.hero-hotspot {
  left: 4.29%;
  width: 23.39%;
  height: 7.66%;
  border-radius: 6px;
}
.hero-hotspot.search { top: 69.56%; }
.hero-hotspot.value { top: 79.03%; }

.home-proof { color: var(--ink); background: var(--white) !important; }
.home-proof .stat-grid {
  width: min(calc(100% - 8vw), 1440px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.home-proof .stat-card {
  min-height: 92px;
  padding: 10px 16px;
  border: 0;
  border-right: 2px solid var(--blue);
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
  text-align: center;
}
.home-proof .stat-card:last-child { border-right: 0; }
.home-proof .stat-label { color: #6b747a; }
.home-proof .stat-value {
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
}
.home-proof .stat-note { color: var(--muted); }
.home-proof .expertise-card .stat-value { color: #007fa8; }

.home-intro { background: var(--white); }
.home-intro .intro-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}
.home-intro h2 { margin: 0; }
.home-intro .lede { margin-top: 4px; font-size: 1.2rem; }
.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.home-team { background: var(--white) !important; }
.team-grid { gap: 24px; }
.team-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.team-card .card-image { aspect-ratio: 4 / 5; }
.team-card .card-body { padding: 22px 0 0; }
.team-card .card-body > p:last-child { display: none; }
.team-card .role { color: var(--muted); }
.placeholder-photo { border-radius: 0; }

.home-journal { background: var(--soft); }
.home-journal > .container {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) 1fr;
  align-items: center;
  gap: 7vw;
}
.home-journal-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  box-shadow: 18px 18px 0 var(--blue);
}
.home-journal-image img {
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  object-fit: cover;
  box-shadow: none !important;
  transition: transform .35s;
}
.home-journal-image:hover img { transform: scale(1.03); }
.home-journal h2 {
  margin: 18px 0;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  line-height: 1;
}

.home-social {
  padding-top: 70px;
  padding-bottom: 76px;
  background: var(--white);
}
.home-social .container { text-align: center; }
.home-social h2 { max-width: 900px; margin-inline: auto; }
.home-social .btn-row { justify-content: center; }
.home-social .btn-ghost {
  min-height: 46px;
  color: #007fa8;
  border-color: var(--blue);
}
.home-social .text-link { margin-top: 24px; display: inline-block; }

.home-services { background: #eef9fc; }
.home-services .grid { gap: 2px; }
.home-services .card {
  min-height: 300px;
  padding: 44px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.home-services .icon-badge {
  width: auto;
  height: auto;
  place-items: unset;
  border-radius: 0;
  color: var(--blue);
  background: transparent;
  font-size: 1rem;
}
.home-services .icon-card::after { display: none; }
.home-services .icon-card h3 { margin: 52px 0 16px; }
.home-services .icon-card p { color: var(--muted); }

.home-video { background: var(--white) !important; }
.home-video .intro-grid { grid-template-columns: 1.1fr .9fr; gap: 7vw; }
.video-placeholder {
  min-height: 430px;
  border: 0;
  border-radius: 0;
  clip-path: ellipse(70% 58%);
  color: var(--ink);
  background: linear-gradient(135deg, var(--orange), #ffce68);
  box-shadow: none;
}
.video-placeholder h3 { color: var(--ink); }
.play-circle {
  width: 86px;
  height: 86px;
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0,0,0,.13);
}

.page-hero {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: center;
  padding: 100px 6vw;
  background: linear-gradient(120deg, #fff 0 68%, var(--blue) 68% 82%, var(--orange) 82%);
}
.page-hero::after {
  right: 4vw;
  bottom: 26px;
  width: clamp(150px, 17vw, 240px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("/assets/images/goodland-logo.png") center / contain no-repeat;
  filter: drop-shadow(0 14px 18px rgba(7,38,58,.16));
}
.page-hero .container {
  width: min(100%, 1280px);
  margin: 0;
}
.page-hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.6rem, 6vw, 5.8rem); }
.page-hero .lede { max-width: 720px; margin-top: 30px; color: var(--ink); }
.page-hero .breadcrumbs { display: none; }
.page-hero .btn-row { position: relative; z-index: 2; }
.buying-process-hero, .selling-process-hero {
  min-height: 720px;
  background: var(--white);
}

/* Reference-parity refinements: calculator, communities, market, and team. */
.calculator-results .eyebrow,
.calculator-results .calc-big { color: var(--blue); }

.community-map-section { display:grid; grid-template-columns:minmax(300px,.72fr) minmax(520px,1.28fr); align-items:center; gap:7vw; color:#fff; background:#06283f; }
.community-map-copy h2,.community-location h2,.community-highlights h2 { margin:12px 0 22px; font-size:clamp(42px,5vw,72px); line-height:1; letter-spacing:-.045em; }
.community-map-copy>p { color:#c3d8e5; line-height:1.6; }
.community-map-active { margin-top:34px; padding:28px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.04); }
.community-map-active>span { color:#7bd7f0; font-size:12px; letter-spacing:.14em; text-transform:uppercase; }
.community-map-active h3 { margin:8px 0; font-size:38px; }
.community-map-active p { color:#d2e4ed; }
.community-map-active strong { display:block; margin:22px 0; font-size:27px; }
.community-map-active small { display:block; margin-top:6px; color:#b7cedb; font-size:12px; }
.community-map-section>.zoom-map-shell { align-self:center; }
.zoom-map-shell { position:relative; min-width:0; }
.zoom-map-toolbar { position:absolute; z-index:20; top:14px; right:14px; display:flex; align-items:center; overflow:hidden; border-radius:6px; background:#fff; box-shadow:0 6px 24px rgba(0,0,0,.2); }
.zoom-map-toolbar button { width:42px; height:42px; border:0; border-right:1px solid #d9e0e3; background:#fff; color:#06283f; font-weight:900; cursor:pointer; }
.zoom-map-toolbar .zoom-reset { width:auto; padding:0 14px; }
.zoom-map-toolbar span { padding:0 12px; color:#52636d; font-size:12px; font-weight:800; }
.zoom-map-viewport { height:min(62vw,700px); overflow:auto; border:1px solid rgba(255,255,255,.18); background:#dcecf3; }
.zoom-map-canvas { position:relative; min-width:100%; }
.zoom-map-canvas>img { display:block; width:100%; height:auto; }
.zoom-map-pin { position:absolute; z-index:4; display:flex; align-items:center; gap:7px; border:0; background:transparent; color:#fff; font:800 11px/1.1 var(--font-manrope),Arial,sans-serif; text-decoration:none; cursor:pointer; transform:translate(-50%,-50%); }
.zoom-map-pin i { width:16px; height:16px; flex:0 0 auto; border:3px solid #fff; border-radius:50%; background:var(--orange); box-shadow:0 3px 10px rgba(0,25,35,.6); }
.zoom-map-pin span { max-width:140px; padding:5px 7px; border-radius:5px; background:rgba(6,40,63,.93); white-space:nowrap; box-shadow:0 3px 10px rgba(0,25,35,.4); }
.zoom-map-pin:hover,.zoom-map-pin:focus-visible,.zoom-map-pin.active { z-index:10; }
.zoom-map-pin.active i { width:24px; height:24px; background:var(--blue); box-shadow:0 0 0 7px rgba(8,169,219,.33),0 3px 10px rgba(0,25,35,.6); }
.zoom-map-hint { grid-column:2; margin:0; color:#c3d8e5; font-size:12px; }

.community-detail-hero { display:grid; grid-template-columns:1.3fr .7fr; align-items:end; gap:8vw; padding-top:100px; padding-bottom:100px; background:#f7f4ee; }
.community-detail-hero h1 { margin:15px 0 30px; font-size:clamp(76px,9vw,142px); line-height:.86; letter-spacing:-.07em; }
.community-detail-hero>div>p:last-of-type { max-width:780px; font-size:22px; line-height:1.6; }
.community-back { color:var(--blue); font-weight:800; }
.community-detail-actions { display:flex; gap:12px; margin-top:32px; }
.community-detail-photo { position:relative; min-height:500px; margin:0; overflow:hidden; background:#dce8ed; box-shadow:20px 20px 0 var(--orange); }
.community-detail-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.community-detail-photo figcaption { position:absolute; right:0; bottom:0; left:0; padding:20px 22px; color:#fff; background:linear-gradient(transparent,rgba(6,30,45,.92)); font-family:var(--font-serif); font-size:20px; }
.community-price-band { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; padding-top:0; padding-bottom:0; color:#fff; background:#06283f; }
.community-price-band>div { padding:38px 28px; border-right:1px solid rgba(255,255,255,.14); }
.community-price-band span,.community-price-band small { display:block; color:#b8d2df; font-size:12px; }
.community-price-band strong { display:block; margin:8px 0; font-size:35px; }
.community-location { display:grid; grid-template-columns:minmax(260px,.6fr) minmax(540px,1.4fr); align-items:center; gap:7vw; background:#eaf7fb; }
.community-location>div:first-child>p:last-child { color:#50636d; font-size:18px; line-height:1.65; }
.community-decision-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; padding-top:1px; padding-bottom:1px; background:#dce3e6; }
.community-decision-grid article { padding:50px; background:#fff; }
.community-decision-grid article>span { color:var(--orange); font-size:13px; font-weight:900; }
.community-decision-grid h2 { margin:12px 0 18px; font-size:40px; }
.community-decision-grid p { color:#52636d; font-size:18px; line-height:1.6; }
.community-highlights { display:grid; grid-template-columns:1fr 1fr .65fr; align-items:start; gap:6vw; color:#fff; background:#079fd2; }
.community-highlights ul { margin:0; padding:0; list-style:none; }
.community-highlights li { padding:14px 0; border-bottom:1px solid rgba(255,255,255,.21); font-size:21px; font-weight:750; }
.community-highlights h3 { margin-top:0; font-size:24px; }
.community-highlights>div:last-child span { display:block; margin-bottom:8px; padding:7px 9px; color:#00698b; background:#fff; font-size:11px; }
.community-detail-cta { display:flex; align-items:center; justify-content:space-between; gap:40px; background:var(--orange); }
.community-detail-cta h2 { max-width:900px; margin:10px 0 15px; font-size:clamp(40px,5vw,70px); }

.market-hero { position:relative; display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); align-items:center; gap:7vw; min-height:660px; overflow:hidden; color:#fff; background:#101112; }
.market-hero h1 { max-width:900px; margin:0; font-size:clamp(58px,6vw,94px); line-height:.96; letter-spacing:-.065em; }
.market-hero h1 em { color:var(--orange); font-style:normal; }
.market-deck { max-width:710px; margin:34px 0; color:#d8dcdf; font-size:20px; line-height:1.65; }
.market-period-row { display:flex; align-items:center; gap:20px; }
.market-period-row strong { padding:12px 18px; border-radius:999px; background:var(--blue); }
.market-hero-stat { padding:42px; border-top:8px solid var(--orange); color:#101112; background:#fff; box-shadow:18px 18px 0 var(--blue); }
.market-hero-stat>span,.county-price>span,.county-sales-row span,.city-market-price>span,.city-market-metrics span { display:block; color:#697177; font-size:11px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.market-hero-stat>strong { display:block; margin:20px 0 8px; font-size:clamp(68px,7vw,108px); line-height:1; letter-spacing:-.075em; }
.positive { color:#07865d!important; }
.market-section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:48px; }
.market-section-heading h2,.market-trend h2,.market-methodology h2 { margin:0; font-size:clamp(40px,4.3vw,66px); line-height:1.06; letter-spacing:-.055em; }
.market-section-heading>p { max-width:460px; margin:0; color:var(--muted); line-height:1.65; }
.buyer-essential-grid { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid #dfe3e5; }
.buyer-essential-grid article { display:flex; min-height:260px; flex-direction:column; padding:32px; border-right:1px solid #dfe3e5; }
.buyer-essential-grid article>span { color:#697177; font-size:11px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.buyer-essential-grid article>strong { margin:38px 0 12px; font-size:clamp(34px,3.2vw,52px); }
.market-counties { color:#fff; background:#101112; }
.market-section-heading-light>p { color:#aeb5b9; }
.county-market-grid,.city-market-results { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.county-market-card { padding:38px; border-top:5px solid var(--blue); background:#1a1c1e; }
.county-market-card:nth-child(2n) { border-top-color:var(--orange); }
.county-card-head { display:flex; align-items:center; justify-content:space-between; padding-bottom:18px; border-bottom:1px solid #34383b; }
.county-card-head h3 { margin:0; font-size:30px; }
.county-price { padding:28px 0 16px; }
.county-price>strong { display:block; margin:8px 0; font-size:clamp(44px,5vw,68px); }
.price-track { height:7px; margin-bottom:28px; background:#303437; }
.price-track i { display:block; height:100%; background:linear-gradient(90deg,var(--blue),#71d9f6); }
.county-sales-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.county-sales-row>div { padding:18px; background:#111; }
.county-sales-row strong { display:block; margin-top:7px; font-size:28px; }
.city-market-section { background:#f5f1e8; }
.city-market-heading { display:grid; grid-template-columns:1.4fr .6fr; align-items:end; gap:6vw; }
.city-market-heading h2 { margin:0; font-size:clamp(44px,5vw,74px); line-height:1; letter-spacing:-.06em; }
.city-market-source-note { display:flex; flex-direction:column; gap:8px; padding:28px; border-bottom:6px solid var(--orange); color:#fff; background:#101112; }
.city-market-controls { display:grid; grid-template-columns:1.5fr auto; align-items:end; gap:16px; margin:48px 0 28px; padding:24px; border:1px solid #ded9cd; background:#fff; }
.city-market-controls label { display:flex; flex-direction:column; gap:8px; }
.city-market-controls input { height:54px; padding:0 16px; border:1px solid #cbd1d4; }
.city-market-card { display:flex; flex-direction:column; padding:32px; border-top:5px solid var(--blue); background:#fff; }
.city-market-card:nth-child(3n+2) { border-top-color:var(--orange); }
.city-market-card-head { display:flex; align-items:start; justify-content:space-between; gap:22px; padding-bottom:18px; border-bottom:1px solid #e3e5e6; }
.city-market-card-head h3 { margin:7px 0 0; font-size:28px; }
.city-market-price { padding:26px 0 20px; }
.city-market-price>strong { display:block; margin:10px 0 7px; font-size:52px; }
.city-market-metrics { display:grid; grid-template-columns:repeat(4,1fr); margin-bottom:24px; border:1px solid #e1e4e5; }
.city-market-metrics>div { padding:16px 13px; border-right:1px solid #e1e4e5; }
.city-market-metrics strong { display:block; margin:8px 0 4px; font-size:24px; }
.market-source-link { color:#007fa8; font-size:13px; font-weight:850; text-decoration:underline; }
.market-trend { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:8vw; background:#eef9fc; }
.market-bar-chart { display:flex; height:380px; align-items:end; justify-content:space-around; gap:28px; padding:42px 44px 30px; border-bottom:7px solid var(--orange); background:#fff; }
.market-bar-column { display:flex; width:30%; height:100%; flex-direction:column; align-items:center; justify-content:flex-end; }
.market-bar-rail { display:flex; width:min(76px,100%); height:260px; align-items:end; margin:12px 0; background:#edf0f1; }
.market-bar-rail i { display:block; width:100%; min-height:8px; background:var(--blue); }
.market-takeaway-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.market-takeaway-grid article { padding:48px; border-left:7px solid var(--blue); background:#faf9f5; }
.market-takeaway-grid article:last-child { border-color:var(--orange); }
.market-methodology { display:grid; grid-template-columns:repeat(2,1fr); gap:28px 7vw; background:var(--orange); }
.market-methodology>div:first-child { grid-column:1/-1; }
.market-source-card { padding:38px; background:#fff; }

.team-profile-list { display:flex; flex-direction:column; gap:2px; background:#fff; }
.team-profile { display:grid; grid-template-columns:minmax(280px,.8fr) 1.2fr; min-height:460px; background:#f4f9fb; }
.team-profile:nth-child(2n) { grid-template-columns:1.2fr minmax(280px,.8fr); }
.team-profile:nth-child(2n) .team-profile-photo { order:2; }
.team-profile-photo { overflow:hidden; }
.team-profile-photo img,.team-profile-photo>.team-placeholder { width:100%; height:100%; min-height:460px; object-fit:cover; object-position:center; }
.team-photo--carly-smith { transform:scale(1.22); transform-origin:center 38%; }
.team-profile-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(45px,6vw,90px); }
.team-profile-copy h2 { margin:0 0 22px; font-size:clamp(38px,4vw,62px); line-height:1.05; letter-spacing:-.045em; }
.team-profile-copy>p:not(.eyebrow) { max-width:720px; color:var(--muted); font-size:18px; line-height:1.7; }
.profile-contact { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; margin-top:22px; }
.profile-contact strong { width:100%; }
.profile-contact a { color:var(--blue); font-weight:750; }

@media (max-width:1000px) {
  .community-map-section,.community-location,.community-detail-hero,.market-hero,.market-trend,.city-market-heading { grid-template-columns:1fr; }
  .zoom-map-hint { grid-column:1; }
  .community-price-band,.buyer-essential-grid { grid-template-columns:repeat(2,1fr); }
  .city-market-results { grid-template-columns:1fr; }
  .community-detail-photo { min-height:480px; }
}
@media (max-width:700px) {
  .selling-process-hero { min-height:620px; }
  .zoom-map-viewport { height:500px; }
  .zoom-map-pin span { display:none; }
  .zoom-map-pin.active span { display:block; }
  .community-decision-grid,.community-highlights,.county-market-grid,.market-takeaway-grid,.market-methodology { grid-template-columns:1fr; }
  .community-detail-actions { flex-direction:column; }
  .community-detail-cta { display:block; }
  .community-detail-cta .button { width:100%; margin-top:24px; }
  .team-profile,.team-profile:nth-child(2n) { grid-template-columns:1fr; }
  .team-profile:nth-child(2n) .team-profile-photo { order:0; }
  .city-market-metrics { grid-template-columns:1fr 1fr; }
}

/* Contrast, map interaction, and service-image refinements. */
.market-hero {
  color: var(--ink);
  background: linear-gradient(135deg, #eef9fc 0%, #d9f0f7 100%);
}
.market-hero .eyebrow { color: #007fa8; }
.market-deck,
.market-period-row span { color: #425966; }
.market-hero h1 em { color: #007fa8; }
.market-counties {
  color: var(--ink);
  background: #eef9fc;
}
.market-section-heading-light > p { color: #52636d; }
.county-market-card {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 40, 63, .09);
}
.county-card-head { border-bottom-color: #dbe5e9; }
.county-card-head span,
.county-price > span,
.county-sales-row span { color: #52636d; }
.county-sales-row > div { background: #f4f9fb; }
.price-track { background: #dce8ed; }
.city-market-section,
.market-takeaways,
.buyer-essentials { color: var(--ink); }
.city-market-card,
.buyer-essential-grid article,
.market-takeaway-grid article { color: var(--ink); }
.market-methodology { color: var(--ink); }

.community-map-section {
  color: var(--ink);
  background: #f5f1e8;
}
.community-map-copy > p,
.zoom-map-hint { color: #52636d; }
.community-map-active {
  color: var(--ink);
  border-color: #d8d0bf;
  background: #fff;
  box-shadow: 0 14px 38px rgba(6, 40, 63, .09);
}
.community-map-active > span { color: #007fa8; }
.community-map-active p { color: #52636d; }
.community-map-active small { color: #647984; }
.community-map-active strong b,
.community-map-active strong i { font-style: normal; }
.zoom-map-viewport {
  cursor: grab;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
}
.zoom-map-viewport.dragging { cursor: grabbing; }
.zoom-map-canvas > img { pointer-events: none; }

.social-links a {
  color: #06283f;
  border-color: #b9d8e4;
  background: #eef9fc;
}
.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  border-color: #007fa8;
  background: #007fa8;
}

.service-card { overflow: hidden; padding: 0; }
.service-card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #dcecf3;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.035); }
.service-card-body { padding: 30px; }
.service-card-body h3 { margin: 0 0 14px; font-size: 28px; }
.service-card-body p { color: var(--muted); line-height: 1.65; }

@media (max-width: 700px) {
  .community-map-section { padding-left: 4vw; padding-right: 4vw; }
  .market-hero { min-height: auto; padding-top: 74px; padding-bottom: 82px; }
}
.buying-process-hero::before, .selling-process-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 43%;
  background: linear-gradient(120deg, transparent 0 17%, var(--blue) 17% 68%, var(--orange) 68%);
  content: "";
}
.buying-process-hero .container, .selling-process-hero .container { z-index: 1; }
.buying-process-hero h1, .selling-process-hero h1 {
  max-width: 560px;
  font-size: clamp(4.25rem, 7vw, 6rem);
}
.buying-process-hero h1::after, .selling-process-hero h1::after {
  display: block;
  width: 150px;
  height: 6px;
  margin-top: 28px;
  background: var(--blue);
  content: "";
}
.buying-process-hero .lede, .selling-process-hero .lede {
  max-width: 590px;
  font-size: 1.2rem;
}

.card {
  border-radius: 0;
  box-shadow: var(--shadow-sm);
}
.form-card, .detail-block, .stat-card, .community-map-card,
.filter-bar, .table-wrap, .faq-item {
  border-radius: 3px;
}
.icon-badge, .step-number { background: var(--blue); }
.journal-card .card-image { aspect-ratio: 1200 / 630; }

.process-section { background: var(--soft) !important; }
.process-list {
  position: relative;
  max-width: 1120px;
}
.process-list::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 39px;
  width: 4px;
  background: linear-gradient(var(--blue), var(--orange));
  content: "";
}
.process-step-wrap {
  position: relative;
  margin-bottom: 30px;
  padding-left: 104px;
}
.process-step-wrap:last-child { margin-bottom: 0; }
.process-node {
  position: absolute;
  z-index: 2;
  top: 31px;
  left: 0;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 7px solid var(--soft);
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(7,38,58,.13);
  font-size: 1.5rem;
  font-weight: 900;
}
.process-step {
  display: block;
  overflow: hidden;
  border: 0;
  border-left: 6px solid var(--blue);
  border-radius: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.process-step[open] { border-left-color: var(--orange); }
.process-summary {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  align-items: stretch;
  cursor: pointer;
  list-style: none;
}
.process-summary::-webkit-details-marker { display: none; }
.process-summary .process-image {
  order: 0 !important;
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: auto;
  object-fit: cover;
}
.process-copy {
  display: flex;
  padding: 34px 38px;
  flex-direction: column;
  justify-content: center;
}
.step-label {
  color: #007fa8;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 850;
}
.process-copy h2 { margin: 10px 0 14px; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1; }
.process-copy > p { margin: 0; color: #526873; }
.process-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #007fa8;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 850;
}
.process-toggle b {
  position: relative;
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e4f2f7;
}
.process-toggle b::before, .process-toggle b::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}
.process-toggle b::after { transform: translate(-50%, -50%) rotate(90deg); }
.process-step[open] .process-toggle b { color: var(--ink); background: var(--orange); }
.process-step[open] .process-toggle b::before { transform: translate(-50%, -50%) rotate(45deg); }
.process-step[open] .process-toggle b::after { transform: translate(-50%, -50%) rotate(-45deg); }
.process-expanded { padding: 32px 38px 38px; border-top: 1px solid #dce7eb; }
.process-expanded h3 { margin-bottom: 22px; }
.process-expanded .check-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.process-journal-link, .faq-journal-link { display: inline-block; margin-top: 22px; }
.process-journal-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.article-sources { display: grid; gap: 12px; margin: 24px 0 38px; }
.article-sources .text-link {
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.cta-band {
  padding: 100px 0;
  color: var(--ink);
  background: var(--orange);
}
.cta-band::after { display: none; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: #563b00; }
.cta-band .eyebrow { color: #563b00; }
.cta-band .btn-orange { color: var(--white); background: var(--ink); }

.site-footer {
  padding: 82px 0 34px;
  color: #aeb3b7;
  background: #111111;
}
.footer-grid { grid-template-columns: 1.2fr .7fr .9fr 1.2fr; gap: 50px; }
.footer-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
}
.site-footer h3 {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .86rem;
}
.footer-links { gap: 0; }
.footer-links a { margin: 7px 0; color: #dddddd; }
.site-footer p { color: #aeb3b7; line-height: 1.6; }
.site-footer .btn-orange { display: inline-flex; color: var(--white); }

@media (max-width: 1280px) {
  .site-logo { flex-basis: 184px; }
  .site-logo img { width: 178px; }
  .site-nav { gap: 12px; }
  .nav-link, .nav-trigger { font-size: .84rem; }
  .header-site-search { flex-basis: 145px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding-inline: 15px; font-size: .82rem; }
}

@media (max-width: 1120px) {
  :root { --header-height: 96px; }
  .site-logo { flex-basis: 158px; }
  .site-logo img { width: 152px; }
  .header-inner { grid-template-columns: unset; }
  .header-actions .btn, .kw-mark { display: none; }
  .header-site-search {
    position: absolute;
    right: 112px;
    width: 210px;
    min-width: 0;
    flex: 0 0 auto;
  }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    padding: 18px 6vw 30px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0,0,0,.13);
  }
  .site-nav > .nav-link {
    display: block;
    width: 100%;
    border-radius: 4px;
    color: var(--white);
    text-align: center;
  }
  .site-nav > .nav-link:not(.nav-mobile-search) { margin-top: 8px; background: var(--orange); }
  .site-nav > .nav-mobile-search { margin-top: 8px; background: var(--blue); }
  .nav-link, .nav-trigger {
    padding: 14px 0;
    color: var(--ink);
  }
  .nav-menu {
    margin-left: 16px;
    border: 0;
    border-radius: 0;
    background: var(--white);
  }
  .home-proof .stat-grid { grid-template-columns: repeat(2,1fr); }
  .home-proof .stat-card { border-right: 0; border-bottom: 1px solid #dddddd; }
  .home-proof .expertise-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .home-intro .intro-grid, .home-journal > .container, .home-video .intro-grid {
    grid-template-columns: 1fr;
  }
  .home-journal-image { max-width: 680px; }
  .home-team .team-grid, .home-services .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-hero {
    background: linear-gradient(135deg, #fff 0 82%, var(--blue) 82% 90%, var(--orange) 90%);
  }
  .buying-process-hero, .selling-process-hero {
    min-height: 760px;
    background: var(--white);
  }
  .process-summary { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  :root { --header-height: 86px; }
  .site-header .header-inner { padding-inline: 4vw; }
  .site-logo { flex-basis: 142px; }
  .site-logo img { width: 136px; }
  .header-site-search { right: 82px; width: 44px; }
  .header-site-search form { padding-inline: 9px; }
  .header-site-search input { width: 0; padding: 0; opacity: 0; transition: .2s; }
  .header-site-search:focus-within { width: min(245px, calc(100vw - 165px)); }
  .header-site-search:focus-within input { width: 100%; padding: 0 7px; opacity: 1; }
  .menu-toggle span { display: none; }
  .section { padding: 72px 0; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .home-proof .stat-grid { width: calc(100% - 8vw); }
  .home-proof .stat-card { padding: 14px 8px; }
  .home-team .team-grid, .home-services .grid { grid-template-columns: 1fr; }
  .home-social { padding-top: 58px; padding-bottom: 58px; }
  .page-hero { min-height: 620px; padding: 62px 7vw 210px; }
  .page-hero::after { right: 6vw; width: 165px; }
  .page-hero h1 { font-size: 3.6rem; }
  .buying-process-hero, .selling-process-hero { min-height: 720px; padding-bottom: 230px; }
  .buying-process-hero::before, .selling-process-hero::before {
    top: auto;
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, transparent 0 35%, var(--blue) 35% 70%, var(--orange) 70%);
  }
  .buying-process-hero h1, .selling-process-hero h1 { font-size: 3.6rem; }
  .process-list::before { left: 23px; }
  .process-step-wrap { padding-left: 58px; }
  .process-node {
    top: 24px;
    width: 48px;
    height: 48px;
    border-width: 5px;
    font-size: 1.05rem;
  }
  .process-summary .process-image { min-height: 0; height: 260px; }
  .process-copy, .process-expanded { padding: 25px; }
  .process-expanded .check-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Strict reference-site parity: exact type, graphics, and homepage components. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/images/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/images/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body,
button,
input,
select,
textarea {
  font-family: "Manrope", sans-serif, Arial, sans-serif;
}
h1, h2, h3, h4 { font-weight: 400; }
.eyebrow { font-size: 13px; font-weight: 800; }

.site-header {
  position: relative;
  z-index: 1000;
  display: flex;
  height: 128px;
  align-items: center;
  gap: 24px;
  padding: 0 3vw;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid #eee;
}
.site-header > a:first-child {
  z-index: 24;
  display: flex;
  flex: 0 0 218px;
  width: 218px;
  height: 128px;
  align-items: center;
}
.site-header .logo.header-logo {
  position: relative;
  top: 0;
  width: 210px;
  height: auto;
  object-fit: contain;
  filter: none;
}
.site-header .nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(14px, 1.55vw, 28px);
  margin: auto;
}
.site-header .nav > a,
.site-header .nav-group > button {
  min-height: 0;
  padding: 50px 0;
  color: var(--ink);
  background: transparent;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 750;
}
.site-header .nav-trigger::after { content: none; }
.site-header .nav-group > button span { margin-left: 7px; }
.site-header .dropdown {
  top: 94px;
  left: -20px;
  z-index: 30;
  width: auto;
  min-width: 220px;
  padding: 12px;
  border: 0;
  border-top: 4px solid var(--blue);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17,17,17,.13);
}
.site-header .dropdown a {
  display: block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 750;
}
.site-header .dropdown a:hover { color: #007ba5; background: #f2f8fa; }
.mobile-header-action { display: none !important; }
.header-site-search {
  position: relative;
  z-index: 28;
  flex: 0 1 190px;
  min-width: 135px;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 17px 24px;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
}
.header-cta:hover { background: #0788b0; }
.contact-cta { background: var(--orange); }
.contact-cta:hover { background: #f0a300; }
.kw-affiliation {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #111;
  white-space: nowrap;
}
.kw-wordmark {
  color: #111;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.12em;
}
.kw-affiliation > span:last-child {
  display: flex;
  flex-direction: column;
  padding-left: 9px;
  border-left: 1px solid #aaa;
}
.kw-affiliation strong { font-size: 10px; line-height: 1.15; letter-spacing: .06em; }
.kw-affiliation small { color: #555; font-size: 9px; line-height: 1.35; }

.approved-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #0878cf;
}
.approved-hero > img { display: block; width: 100%; height: auto; }
.approved-hero-link {
  position: absolute;
  left: 4.29%;
  z-index: 4;
  display: flex;
  width: 23.39%;
  height: 7.66%;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: clamp(11px, 1.55vw, 25px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.approved-hero-link.search-link {
  top: 69.56%;
  color: #fff;
  background: linear-gradient(135deg, #0879d4, #006fc7);
}
.approved-hero-link.value-link {
  top: 79.03%;
  color: #0874c7;
  background: #fff;
  border: 2px solid #0874c7;
  box-shadow: 0 0 0 4px #fff;
}

.proof-bar {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 118px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  padding: 22px 4vw;
  background: #fff;
}
.proof-bar > div {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 16px;
  border-right: 2px solid var(--blue);
  text-align: center;
}
.proof-bar > div:last-child { border: 0; }
.proof-icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
}
.proof-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wisconsin-icon img { width: 39px; height: 42px; object-fit: contain; }
.specialty-item strong {
  display: flex;
  min-height: 35px;
  align-items: flex-start;
  justify-content: center;
  font-size: 14px;
  line-height: 1.25;
}

.section-pad { padding: 100px 6vw; }
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  background: #fff;
}
.intro-section h2,
.section-heading-row h2,
.video-section h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.intro-section > div:last-child { font-size: 19px; line-height: 1.7; }

.team-section { background: #fff; }
.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.section-heading-row h2 { max-width: 760px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.team-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.team-photo-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.team-photo-frame .card-image {
  height: 100%;
  aspect-ratio: auto;
}
.team-card img,
.team-placeholder,
.team-card .placeholder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #eaf7fb;
  border-radius: 3px;
}
.team-card .card-body { padding: 0; }
.team-card h3 {
  margin: 20px 0 5px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.025em;
}
.team-card .role { margin: 0; color: var(--muted); font-size: 16px; font-weight: 400; letter-spacing: normal; }
.team-section .team-bio { display: none; }

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
}
.button-blue { color: #fff; background: var(--blue); }
.button-orange { color: #fff; background: var(--orange); }
.button-dark { color: #fff; background: var(--ink); }

.home-journal {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) 1fr;
  align-items: center;
  gap: 7vw;
  background: #eef5f7;
}
.home-journal-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  box-shadow: 18px 18px 0 var(--blue);
}
.home-journal-image img { width: 100%; height: 100%; object-fit: contain; }
.home-journal h2 {
  margin: 18px 0;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -.055em;
}
.journal-feature-title {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.02;
}
.journal-newest-feature .card-image {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.article-header-branded {
  padding-bottom: 28px;
}
.article-header-branded .lede {
  max-width: 800px;
}
.home-journal article > p:not(.eyebrow):not(.blog-meta) {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.home-journal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 28px; }

.social-section { padding-top: 70px; padding-bottom: 76px; background: #fff; }
.social-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.social-heading-row h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.social-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.social-links a {
  display: flex;
  width: auto;
  height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid #dbe1e4;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}
.social-links svg { display: block; flex: 0 0 20px; width: 20px; min-width: 20px; height: 20px; }
.social-links .social-icon-fill { fill: currentColor; stroke: none; }
.social-links .social-icon-outline { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-links svg .fill-icon { fill: currentColor; stroke: none; }
.instagram-follow { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; color: #007fa8; font-weight: 850; }
.instagram-follow span { font-size: 20px; }

.services-section { background: #eef9fc; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
}
.service-grid article { min-height: 330px; padding: 44px; background: #fff; }
.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-grid h3 { margin: 38px 0 16px; font-size: 30px; letter-spacing: -.035em; }
.service-grid p { color: var(--muted); line-height: 1.7; }

.video-section {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 7vw;
  background: #fff;
}
.home-latest-video { overflow: hidden; background: #061d2c; box-shadow: 16px 16px 0 var(--orange); }
.home-video-player { position: relative; aspect-ratio: 16 / 9; background: #061d2c; }
.home-video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-video-caption { display: grid; grid-template-columns: 1fr auto; gap: 7px 20px; padding: 18px 20px; color: #fff; background: #06283f; }
.home-video-caption span { grid-column: 1 / -1; color: #74daf4; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.home-video-caption strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-video-caption a { color: var(--orange); font-size: 12px; font-weight: 850; white-space: nowrap; }
.video-section > div:last-child > p:not(.eyebrow) { margin: 24px 0 34px; color: var(--muted); font-size: 18px; line-height: 1.7; }

.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--orange); }
.cta-section .eyebrow { color: #563b00; }

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .7fr .9fr 1.2fr;
  gap: 50px;
  padding-bottom: 45px;
  color: #fff;
  background: #111;
}
.footer-brand > img { width: 180px; height: 180px; object-fit: contain; border-radius: 50%; }
.footer h3 { color: var(--orange); font-size: 14px; letter-spacing: .15em; text-transform: uppercase; }
.footer a { display: block; margin: 12px 0; color: #ddd; }
.footer p { color: #aeb3b7; line-height: 1.6; }
.footer-contact { color: #fff !important; font-size: 19px; font-weight: 800; }
.footer-kw { display: flex; align-items: center; gap: 11px; margin-top: 28px; color: #fff; }
.footer-kw > span { color: #e31b23; font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -.12em; }
.footer-kw > div { display: flex; flex-direction: column; padding-left: 11px; border-left: 1px solid #555; }
.footer-kw strong { font-size: 11px; letter-spacing: .07em; }
.footer-kw small { margin-top: 3px; color: #aaa; font-size: 10px; }
.footer .legal { grid-column: 1 / -1; margin-top: 18px; font-size: 13px; }

@media (max-width: 1450px) {
  .site-header > a:first-child { flex-basis: 184px; width: 184px; }
  .site-header .logo.header-logo { width: 178px; }
  .site-header .nav { gap: 12px; }
  .site-header .nav > a, .site-header .nav-group > button { font-size: 14px; }
  .header-site-search { flex-basis: 145px; }
  .header-actions { gap: 9px; }
  .header-cta { padding-left: 15px; padding-right: 15px; font-size: 14px; }
  .kw-affiliation { gap: 6px; }
  .kw-affiliation > span:last-child { padding-left: 7px; }
}

@media (max-width: 1120px) {
  .site-header { height: 96px; }
  .site-header > a:first-child { flex-basis: 158px; width: 158px; height: 96px; }
  .site-header .logo.header-logo { width: 152px; }
  .header-actions { display: none; }
  .site-header .nav {
    position: absolute;
    top: 96px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 6vw 30px;
    background: #fff;
    box-shadow: 0 15px 30px #0002;
  }
  .site-header .nav.open { display: flex; }
  .site-header .nav > a, .site-header .nav-group > button { display: block; width: 100%; padding: 14px 0; text-align: left; }
  .site-header .dropdown { position: static; display: none; padding: 0 0 8px 16px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .site-header .nav-group.open .dropdown,
  .site-header .nav-group:hover .dropdown,
  .site-header .nav-group:focus-within .dropdown { display: block; }
  .mobile-header-action { display: block !important; margin-top: 8px !important; padding: 14px 18px !important; color: #fff !important; border-radius: 4px; text-align: center !important; }
  .mobile-get-started { background: var(--orange) !important; }
  .mobile-search-homes { background: var(--blue) !important; }
  .menu-toggle { display: flex; margin-left: auto; gap: 10px; }
  .header-site-search { position: absolute; right: 112px; width: 210px; min-width: 0; flex: 0 0 auto; }
  .proof-bar { grid-template-columns: repeat(2, 1fr); }
  .proof-bar > div { min-height: 112px; border-right: 0; border-bottom: 1px solid #ddd; }
  .proof-bar > div:first-child { grid-column: 1 / -1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .social-heading-row { flex-direction: column; align-items: flex-start; }
  .social-links { justify-content: flex-start; }
}

@media (max-width: 1000px) {
  .intro-section, .video-section { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .home-journal { grid-template-columns: 1fr; }
  .home-journal-image { max-width: 680px; }
}

@media (max-width: 650px) {
  .site-header { height: 86px; padding-inline: 4vw; }
  .site-header > a:first-child { flex-basis: 142px; width: 142px; height: 86px; }
  .site-header .logo.header-logo { width: 136px; }
  .header-site-search {
    right: 82px;
    left: calc(4vw + 146px);
    width: auto;
  }
  .header-site-search form { width: 100%; padding-inline: 9px; }
  .header-site-search input {
    width: 100%;
    min-width: 0;
    padding: 0 5px;
    opacity: 1;
  }
  .header-site-search:focus-within { width: auto; }
  .header-site-search:focus-within input { width: 100%; padding: 0 5px; opacity: 1; }

  /* The approved hero art already contains this button treatment. Keep the
     mobile link as a clean hit area instead of drawing a second heavy ring. */
  .approved-hero-link.value-link {
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .approved-hero-link.value-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .section-pad { padding: 72px 7vw; }
  .proof-bar {
    min-height: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 14px 8px 16px;
  }
  .proof-bar > div,
  .proof-bar > div:first-child {
    min-height: 0;
    grid-column: auto;
    gap: 6px;
    padding: 0 2px;
    border: 0;
  }
  .proof-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .proof-icon svg { width: 20px; height: 20px; }
  .wisconsin-icon img { width: 28px; height: 29px; }
  .specialty-item strong {
    min-height: 0;
    font-size: 10px;
    line-height: 1.15;
  }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .team-card h3 { font-size: 18px; }
  .team-card .role { font-size: 13px; }
  .section-heading-row, .cta-section { flex-direction: column; align-items: flex-start; }
  .social-section { padding-top: 58px; padding-bottom: 58px; }
  .social-links a { width: 46px; justify-content: center; padding: 0; }
  .social-links a span { display: none; }
  .service-grid, .footer { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > img { width: 160px; height: 160px; }
}

@media (max-width: 560px) {
  .home-video-caption { grid-template-columns: 1fr; }
  .home-video-caption a { white-space: normal; }
}

.faq-hero-cta {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 18px;
  padding: 9px 17px;
  border-radius: 3px;
  font-size: 13px;
}
.faq-page-hero::after { display: none; }
.faq-page-hero h1 {
  width: min(100%, 850px);
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.faq-page-hero > p:not(.eyebrow) { max-width: 780px; font-size: 19px; line-height: 1.65; }
.faq-tools {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  align-items: end;
  gap: 7vw;
  background: #fff;
  border-bottom: 1px solid #d9e6eb;
}
.faq-tools h2 { margin: 9px 0 0; font-size: clamp(36px, 4.5vw, 64px); line-height: 1; letter-spacing: -.045em; }
.faq-search span {
  display: block;
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.faq-search input {
  width: 100%;
  height: 62px;
  padding: 0 20px;
  color: var(--ink);
  background: #f8fcfd;
  border: 2px solid #b9d7e3;
  border-radius: 0;
  font-size: 17px;
}
.faq-search input:focus { border-color: var(--blue); outline: 3px solid rgba(16,169,216,.2); }
.faq-directory { background: #eef5f7; }
.faq-group {
  display: grid;
  grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr);
  gap: 6vw;
  margin: 0;
  padding: 56px 0;
  border-top: 1px solid #c9dbe2;
}
.faq-group:first-child { padding-top: 0; border-top: 0; }
.faq-group > header { position: sticky; top: 100px; align-self: start; }
.faq-group > header h2 { margin: 8px 0 13px; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; letter-spacing: -.035em; }
.faq-group > header > p:last-child { color: #60717b; line-height: 1.55; }
.faq-list { display: grid; gap: 13px; }
.faq-item {
  scroll-margin-top: 130px;
  border: 0;
  border-left: 5px solid var(--blue);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 10px 25px rgba(7,38,58,.047);
}
.faq-item[open] { border-left-color: var(--orange); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::after { content: none; }
.faq-item summary i {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--blue);
  background: #e4f2f7;
  border-radius: 50%;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  transition: .2s;
}
.faq-item[open] summary i { color: #111; background: var(--orange); transform: rotate(45deg); }
.faq-answer { padding: 0 70px 24px 22px; color: #536873; line-height: 1.68; }
.faq-answer p { margin: 0; }

@media (max-width: 850px) {
  .faq-tools, .faq-group { grid-template-columns: 1fr; }
  .faq-group { gap: 30px; }
  .faq-group > header { position: static; }
}

@media (max-width: 560px) {
  .faq-tools { grid-template-columns: 1fr; }
  .faq-search { min-width: 0; }
  .faq-item summary { padding: 18px; font-size: 16px; }
  .faq-answer { padding: 0 18px 20px; }
}

@media print {
  .site-header, .site-footer, .search-modal, .cta-band, .share-row, .btn-row { display: none !important; }
  body { color: #000; }
  .section, .article-body { padding: 20px 0; }
  .card, .form-card, .table-wrap { box-shadow: none; }
}

/* Keep these interaction colors above the later homepage parity rules. */
.social-links a { color:#06283f; border-color:#b9d8e4; background:#eef9fc; }
.social-links a:hover,.social-links a:focus-visible { color:#fff; border-color:#007fa8; background:#007fa8; }

/* Linked market sources */
.county-market-card > .market-source-link { margin-top: 24px; }
.buyer-essential-grid article { display: flex; flex-direction: column; }
.buyer-essential-grid article .market-source-link { margin-top: auto; padding-top: 22px; }
.market-source-card .market-source-link { margin-top: 14px; }

/* YouTube Shorts library */
.short-page-grid { display: grid; gap: 32px; }
.short-card.featured {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7,38,58,.1);
}
.short-player {
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  background: var(--ink);
}
.short-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.short-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 6vw, 90px);
}
.short-copy h2 { margin: 8px 0 18px; font-size: clamp(35px, 5vw, 64px); line-height: 1; }
.short-copy > p:not(.eyebrow) { max-width: 590px; color: #536873; font-size: 18px; line-height: 1.65; }
.short-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.short-topic-card {
  display: grid;
  min-height: 210px;
  align-content: end;
  gap: 12px;
  padding: 28px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.short-topic-card:hover, .short-topic-card:focus-visible { color: #fff; background: var(--blue); transform: translateY(-4px); }
.short-topic-card span { color: var(--orange); font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.short-topic-card strong { font-size: 25px; line-height: 1.08; }
.short-topic-card i { font-style: normal; font-weight: 800; }

/* Current YouTube library */
.video-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}
.video-library-heading h2 { margin: 8px 0 0; font-size: clamp(36px, 5vw, 62px); line-height: 1; }
.video-library-heading > p { margin: 0; color: #536873; font-size: 17px; line-height: 1.65; }
.video-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(22px, 5vw, 76px);
  color: #fff;
  background: var(--ink);
}
.video-category-nav span { margin-right: 10px; color: var(--orange); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.video-category-nav a {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.video-category-nav a:hover, .video-category-nav a:focus-visible { color: var(--ink); border-color: var(--orange); background: var(--orange); }
.video-group-list { display: grid; gap: clamp(68px, 9vw, 120px); }
.video-category { scroll-margin-top: 120px; }
.video-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 32px;
}
.video-category-heading h2 { margin: 7px 0 0; font-size: clamp(38px, 5vw, 62px); line-height: 1; }
.video-category-heading > p { margin: 0; color: #536873; font-size: 17px; line-height: 1.65; }
.youtube-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.youtube-video-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7,38,58,.09);
}
.youtube-video-frame { aspect-ratio: 9 / 16; max-height: 560px; background: var(--ink); }
.youtube-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.youtube-video-copy { display: grid; gap: 10px; padding: 22px; }
.youtube-video-copy span { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.youtube-video-copy h2, .youtube-video-copy h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.youtube-video-copy a { color: var(--ink); font-size: 14px; font-weight: 850; text-decoration: none; }
.youtube-video-copy a:hover, .youtube-video-copy a:focus-visible { color: var(--blue); }
.video-library-action { display: flex; justify-content: center; margin-top: 40px; }

/* Gated buyer and seller toolkit downloads */
.buyer-toolkit-gate {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: center;
  color: #fff;
  background: var(--ink);
}
.seller-toolkit-gate { background: #07364f; }
.buyer-toolkit-copy h2 { margin: 10px 0 20px; max-width: 780px; color: #fff; font-size: clamp(38px, 5vw, 66px); line-height: 1; }
.buyer-toolkit-copy > p:not(.eyebrow) { max-width: 720px; color: #c8d9e1; font-size: 18px; line-height: 1.65; }
.buyer-toolkit-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 30px; }
.buyer-toolkit-preview span { color: #fff; font-weight: 750; }
.buyer-toolkit-preview span::first-letter { color: var(--orange); }
.buyer-toolkit-form-wrap { padding: clamp(26px, 4vw, 46px); color: var(--ink); background: #fff; box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.buyer-toolkit-form { display: grid; gap: 15px; }
.buyer-toolkit-form h3 { margin: 0; font-size: 28px; }
.buyer-toolkit-form > p { margin: 0; color: #60717b; }
.buyer-toolkit-form > p span, .buyer-toolkit-form b { color: #b54708; }
.buyer-toolkit-form > label:not(.buyer-toolkit-consent):not(.contact-honeypot) { display: grid; gap: 7px; font-weight: 750; }
.buyer-toolkit-form input[type="text"],
.buyer-toolkit-form input[type="email"],
.buyer-toolkit-form input[type="tel"],
.buyer-toolkit-form input:not([type]) {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #b8cad2;
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.buyer-toolkit-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: #536873; font-size: 13px; line-height: 1.5; }
.buyer-toolkit-consent input { width: 18px; height: 18px; margin-top: 2px; }
.buyer-toolkit-form small { color: #60717b; line-height: 1.5; }
.buyer-toolkit-form .form-status { margin: 0; }

/* FAQ expansion: keep the control anchored while the answer grows. */
.faq-item summary { position: relative; align-items: flex-start; padding-right: 78px; }
.faq-item summary i {
  position: absolute;
  top: 18px;
  right: 22px;
  flex: none;
  margin: 0;
  font-size: 0;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-item summary i::after {
  width: 2px;
  height: 14px;
}
.faq-item[open] summary i { transform: none; }
.faq-related-journals { display: grid; gap: 10px; margin-top: 20px; }
.faq-related-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  color: var(--ink);
  background: #eef9fc;
  text-decoration: none;
}
.faq-related-card:hover, .faq-related-card:focus-visible { color: var(--ink); background: #dff3f9; }
.faq-related-card span { color: #60717b; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.faq-related-card strong { font-size: 16px; line-height: 1.3; }
.faq-related-card i { color: var(--blue); font-size: 13px; font-style: normal; font-weight: 850; }
.faq-related-video {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  padding: 18px;
  color: #fff;
  background: var(--ink);
}
.faq-video-player { width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #000; }
.faq-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.faq-related-video > div:last-child { display: grid; gap: 8px; align-content: center; }
.faq-related-video span { color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.faq-related-video strong { color: #fff; font-size: 19px; line-height: 1.25; }
.faq-related-video a { color: #fff; font-size: 13px; font-weight: 850; text-decoration: none; }
.faq-related-video a:hover, .faq-related-video a:focus-visible { color: var(--orange); }

@media (max-width: 850px) {
  .short-card.featured { grid-template-columns: 1fr; }
  .short-player { margin-top: 28px; }
  .short-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-library-heading, .video-category-heading, .buyer-toolkit-gate { grid-template-columns: 1fr; }
  .youtube-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .short-topic-grid { grid-template-columns: 1fr; }
  .youtube-video-grid, .buyer-toolkit-preview { grid-template-columns: 1fr; }
  .faq-related-video { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .faq-item summary { padding: 18px 68px 18px 18px; }
  .faq-item summary i { top: 16px; right: 18px; }
}

/* Market dashboard: phone layout. Desktop and tablet grids remain unchanged. */
@media (max-width: 650px) {
  .market-hero,
  .buyer-essentials,
  .market-counties,
  .city-market-section,
  .market-trend,
  .market-takeaways,
  .market-methodology {
    overflow-x: hidden;
  }

  .market-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }
  .market-section-heading h2,
  .market-trend h2,
  .market-methodology h2,
  .city-market-heading h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .buyer-essential-grid {
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 0;
  }
  .buyer-essential-grid article {
    min-width: 0;
    min-height: 0;
    padding: 26px 22px;
    border-right: 0;
    border-bottom: 1px solid #dfe3e5;
  }
  .buyer-essential-grid article > strong {
    margin: 20px 0 8px;
    font-size: clamp(38px, 13vw, 54px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .market-source-link {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }
  .buyer-essential-grid .market-source-link { margin-top: 20px; }

  .market-hero-stat,
  .county-market-card,
  .city-market-card,
  .market-takeaway-grid article,
  .market-source-card {
    min-width: 0;
    padding: 24px 20px;
  }
  .market-hero-stat { box-shadow: 9px 9px 0 var(--blue); }
  .market-hero-stat > strong,
  .county-price > strong,
  .city-market-price > strong {
    font-size: clamp(40px, 13vw, 56px);
    overflow-wrap: anywhere;
  }

  .county-sales-row,
  .city-market-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .city-market-metrics > div:nth-child(2n) { border-right: 0; }
  .city-market-metrics > div:nth-child(-n+2) { border-bottom: 1px solid #e1e4e5; }
  .city-market-card-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .city-market-card-head h3 { font-size: 24px; }
  .city-market-controls { grid-template-columns: minmax(0, 1fr); margin-top: 30px; padding: 18px; }

  .market-bar-chart {
    height: 310px;
    gap: 12px;
    padding: 30px 18px 22px;
  }
  .market-bar-column strong { font-size: 14px; }
  .market-bar-rail { height: 210px; }
}

/* The Journal landing page uses its own approved publication mark. */
.journal-page-hero::after {
  right: 3.5vw;
  bottom: 42px;
  width: clamp(250px, 25vw, 380px);
  height: auto;
  aspect-ratio: 1622 / 555;
  border-radius: 0;
  background: url("/assets/images/goodland-journal-logo.png") center / contain no-repeat;
}

@media (max-width: 900px) {
  .journal-page-hero { padding-bottom: 230px; }
  .journal-page-hero::after {
    right: 6vw;
    bottom: 48px;
    width: min(360px, 58vw);
  }
}

@media (max-width: 650px) {
  .journal-page-hero::after {
    right: 7vw;
    width: min(320px, 72vw);
  }
}
