/* Cardinal Group Enterprise brand: Cardinal red, near-black, white. */
:root {
  --red: #c72b2f;
  --red-dark: #a32226;
  --ink: #161616;
  --muted: #5a5a5a;
  --line: #e6e2dd;
  --paper: #ffffff;
  --sand: #f7f4f0;
  --radius: 10px;
  --max: 1120px;
  --f-head: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--f-body); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Header: the brokerage logo leads, Kaysie's name beside it at the same size as the brokerage name. */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 84px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { height: 56px; width: auto; }
.brand .who { border-left: 2px solid var(--line); padding-left: 16px; line-height: 1.25; }
.brand .who b, .brand .who .bk { display: block; font-family: var(--f-head); font-size: 16px; font-weight: 600; }
.brand .who .bk { color: var(--red); }
.brand .who small { font-size: 13px; color: var(--muted); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 18px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--ink); }
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 999px; border: 0; font-size: 16px; cursor: pointer; font-family: var(--f-body); }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero { background: var(--sand); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero .eyebrow { font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 12px; }
.hero .lede { font-size: 19px; color: #333; max-width: 36em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.portrait { position: relative; }
.portrait img { border-radius: 18px; box-shadow: 0 18px 40px rgba(22,22,22,.14); }
.portrait figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.portrait figcaption b { color: var(--ink); }
.page-head { background: var(--sand); padding: 52px 0 40px; }
.page-head .lede { font-size: 19px; color: #333; max-width: 40em; margin: 0; }

section.block { padding: 64px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--paper); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--red); }
.card .more { font-weight: 600; text-decoration: none; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font: 700 18px/44px var(--f-head); text-align: center; }
.steps h3 { margin: 6px 0 4px; font-size: 19px; }
.steps p { margin: 0; color: #333; }
.note { background: var(--sand); border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tagline { font-family: var(--f-head); font-style: italic; font-size: 22px; color: var(--red); }

/* Contact box: Kaysie's contact details with the brokerage name directly above them, every time. */
.contact-box { border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; }
.contact-box .bk { font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--red); margin: 0 0 4px; }
.contact-box .nm { font-weight: 600; margin: 0; }
.contact-box ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 4px; }

/* Form */
form.lead { display: grid; gap: 14px; }
/* The brokerage name sits directly above the contact form, at least as large as anything else in that line. */
form.lead .form-for { margin: 0; font-size: 16px; color: var(--muted); }
form.lead .form-for .bk { display: block; font-family: var(--f-head); font-weight: 700; font-size: 18px; color: var(--red); }
form.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 600; font-size: 15px; display: grid; gap: 6px; }
input, select, textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #c9c3bc; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 130px; resize: vertical; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 400; font-size: 14px; color: #333; align-items: start; }
.check input { width: 20px; height: 20px; margin-top: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 8px; display: none; }
.form-msg.ok { display: block; background: #e7f4ea; color: #1d5b2c; }
.form-msg.err { display: block; background: #fbebeb; color: #8a1d20; }

/* Footer: on every page, the brokerage name sits directly above Kaysie's contact details. */
footer { background: var(--ink); color: #e9e9e9; margin-top: 0; }
footer a { color: #fff; }
footer .wrap { padding-top: 48px; padding-bottom: 32px; }
footer .cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 32px; }
footer .bk { font-family: var(--f-head); font-weight: 700; font-size: 18px; color: #fff; margin: 0 0 2px; }
footer .lbl { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: #a9a9a9; margin: 0 0 10px; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
footer .logo-chip { background: #fff; border-radius: 8px; padding: 8px 10px; display: inline-block; margin-bottom: 14px; }
footer .logo-chip img { height: 44px; width: auto; }
footer .legal { border-top: 1px solid #333; margin-top: 32px; padding-top: 20px; font-size: 13px; color: #bdbdbd; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
footer .eho svg { width: 40px; height: 40px; }

@media (max-width: 860px) {
  .top { position: static; }
  .hero .wrap, .two { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .portrait { max-width: 340px; }
  footer .cols { grid-template-columns: 1fr; }
  form.lead .row { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
}
@media (max-width: 520px) {
  .brand { flex-wrap: wrap; }
  .brand .who { border-left: 0; padding-left: 0; }
}

/* All areas, by part of the county */
.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; }
.area-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.area-list a { font-weight: 600; text-decoration: none; }
.area-list span { color: var(--muted); font-size: 13px; }
.block.alt { background: var(--sand); }
.cards.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
ul.checks { padding-left: 20px; }
ul.checks li { margin-bottom: 10px; }
.page-head .eyebrow { font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 8px; }
