/* Haynes Haven Realty. Brand colors match blog.hayneshavenrealty.com. */
:root {
  --ink: #0b0b0b;
  --ink-2: #1c1c1c;
  --gold: #eab12e;
  --gold-dark: #8a6410; /* gold that is dark enough for text on white */
  --cream: #fff8ea;
  --paper: #ffffff;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --line: #e7e0d0;
  --green: #1f6b3a;
  --radius: 12px;
  --shadow: 0 2px 14px rgba(0, 0, 0, .08);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --soft: #f1f1f1;
  --gap: clamp(16px, 3vw, 28px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--body); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.center-row { justify-content: center; }
.lead { font-size: 1.15rem; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--gold-dark); margin-bottom: .75em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* buttons: gold is the one action color */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; text-align: center; line-height: 1.2; transition: background .15s, color .15s; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f3c24f; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25em; }
.btn-col { display: grid; gap: 10px; margin-top: 1em; }

/* header */
.site-header { position: relative; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { flex: none; }
.logo { width: 150px; height: auto; }
.nav-desktop { display: none; gap: 18px; margin-left: auto; }
.nav-desktop a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-desktop a[aria-current="page"], .nav-desktop a:hover { border-bottom-color: var(--gold); color: var(--ink); }
.header-cta { display: none; }
.nav-mobile { margin-left: auto; }
.nav-mobile summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-content: center; gap: 5px; border-radius: 8px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { display: block; width: 24px; height: 2px; background: var(--ink); }
.nav-mobile[open] nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: grid; padding: 8px 16px 20px; box-shadow: var(--shadow); }
.nav-mobile nav a:not(.btn) { padding: 12px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-mobile nav .btn { margin-top: 14px; }
@media (min-width: 1080px) {
  .logo { width: 190px; }
  .nav-desktop, .header-cta { display: flex; }
  .nav-mobile { display: none; }
}

/* sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-cream { background: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); background: var(--cream); }
.band { padding: clamp(48px, 7vw, 80px) 0; }
.band-ink { background: var(--ink); color: #f2f2f2; }
.band-ink h2 { color: #fff; }

/* home hero */
.hero { background: var(--ink); color: #f2f2f2; padding: clamp(48px, 8vw, 96px) 0; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .kicker { color: var(--gold); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-homes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hero-homes a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.hero-homes img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.hero-homes span { position: absolute; left: 8px; bottom: 8px; background: rgba(11,11,11,.8); color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } }

/* grids and cards */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.listing-card { overflow: hidden; }
.card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-color: var(--gold); }
.card-img { position: relative; }
.card-img img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; }
.card-body p { margin: 0 0 .3em; }
.card-title { font-size: 1.25rem; margin: .1em 0 .1em; }
.price { font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.price-lg { font-size: 2rem; margin: .25em 0 .5em; }
.facts { font-weight: 500; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.badge.static { position: static; display: inline-block; }
.badge-pending { background: var(--green); color: #fff; }
.person { text-decoration: none; display: grid; gap: 4px; }
.person img { width: 100%; height: auto; margin-bottom: 8px; }
.checks { list-style: none; padding: 0; margin: 0 0 1.25em; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; display: grid; place-content: center; font-size: .85rem; }

/* quotes */
.quote { margin: 0; padding: 24px; display: flex; flex-direction: column; }
.quote blockquote { margin: .5em 0 1em; flex: 1; }
.stars { color: var(--gold-dark); letter-spacing: 2px; }
.masonry { columns: 3 300px; column-gap: var(--gap); }
.masonry .quote { break-inside: avoid; margin-bottom: var(--gap); display: block; }

/* listings video hero: the video carries its own name bars and logo, so nothing sits on top of it */
.video-hero { background: var(--ink); color: #f2f2f2; padding: clamp(40px, 7vw, 80px) 0; }
.video-hero h1 { color: #fff; }
.video-hero .kicker { color: var(--gold); }
.video-grid { display: grid; gap: 32px; align-items: center; }
.agents-video { width: 100%; aspect-ratio: 3/2; border-radius: var(--radius); border: 3px solid var(--gold); background: #000; }
@media (min-width: 900px) { .video-grid { grid-template-columns: 1fr 1.3fr; } }

/* listing detail */
.listing-hero img { width: 100%; height: min(62vh, 620px); object-fit: cover; }
.listing-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .listing-grid { grid-template-columns: 1fr 340px; align-items: start; } .agent-card { position: sticky; top: 100px; } }
.fact-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: flex; flex-wrap: wrap; gap: 10px; }
.fact-list li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.agent-card { padding: 22px; }
.agent-card img { width: 120px; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; margin-bottom: 12px; }
.agent-name { font-size: 1.4rem; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.gallery img { aspect-ratio: 3/2; object-fit: cover; border-radius: 8px; width: 100%; }

/* team page */
.team-list { display: grid; gap: 56px; }
.team-member { display: grid; gap: 24px; align-items: start; scroll-margin-top: 100px; }
.team-member img { width: 100%; max-width: 420px; height: auto; margin-inline: auto; }
@media (min-width: 860px) {
  .team-member { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; }
  .team-member:nth-child(even) > :first-child { order: 2; }
}
.form-card { padding: clamp(20px, 4vw, 36px); scroll-margin-top: 90px; }

/* sold + legal */
.sold-list { columns: 2 300px; column-gap: 40px; padding-left: 1.2em; }
.sold-list li { margin-bottom: 8px; break-inside: avoid; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.empty { background: var(--cream); border: 1px dashed var(--line); border-radius: var(--radius); padding: 24px; }

/* footer */
.site-footer { background: var(--ink); color: #d8d8d8; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.logo-footer { width: 240px; }
.footer-h { color: #fff; font-family: var(--body); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-links, .footer-licenses { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.footer-base { border-top: 1px solid #333; margin-top: 36px; padding-top: 20px; font-size: .85rem; color: #bdbdbd; }
.eho-line { display: flex; gap: 12px; align-items: flex-start; }
.eho { width: 34px; height: 34px; flex: none; color: #fff; }
@media (min-width: 1080px) { .site-header { position: sticky; } }
.team-member p, .listing-grid p { max-width: 70ch; }
@media (max-width: 700px) { .listing-hero img { height: 46vh; } }
/* The GoHighLevel form is shown as a plain frame (no GoHighLevel script), sized to fit it */
.ghl-form { display: block; width: 100%; height: 1280px; border: 0; border-radius: 8px; background: #fff; }
@media (min-width: 700px) { .ghl-form { height: 1080px; } }
@media (max-width: 699px) { .form-card { padding: 12px; } }
.initials { aspect-ratio: 3/4; width: 100%; max-width: 320px; border-radius: var(--radius); background: var(--ink); display: grid; place-items: center; margin-bottom: 8px; }
.initials span { font-family: var(--display); font-size: clamp(2.5rem, 6vw, 4rem); color: var(--gold); }
.agent-card .initials { width: 120px; aspect-ratio: 1; border-radius: 50%; }

/* ---- Old-site look (Ryan, 2026-10-28): full-width photo, big centered headings, gold frames ---- */
h1, h2 { text-wrap: balance; }
.center { text-align: center; }
.section-soft { background: var(--soft); }
.h-sans { font-family: var(--body); font-weight: 600; letter-spacing: -.01em; }
.btn-dark { background: var(--ink); color: #fff; border-radius: 10px; }
.btn-dark:hover { background: #333; color: #fff; }

.hero-photo { position: relative; min-height: clamp(520px, 82vh, 760px); display: grid; align-items: center; overflow: hidden; background: var(--ink); color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.62)); }
.hero-center { position: relative; text-align: center; padding: 56px 0; max-width: 980px; }
.hero-center h1 { color: #fff; text-transform: uppercase; font-size: clamp(2.3rem, 7vw, 4.6rem); line-height: 1.05; letter-spacing: .01em; margin: .35em 0 .4em; }
.hero-center .lead { max-width: 720px; margin-inline: auto; color: #f3f3f3; }
.hero-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.logo-hero { width: clamp(170px, 22vw, 240px); height: auto; }
.mid-logo { margin: 0 auto 20px; }
.logo-mid { width: clamp(220px, 32vw, 320px); height: auto; margin-inline: auto; }

.checks-center { display: inline-grid; text-align: left; margin-inline: auto; }

.split { display: grid; gap: 40px; align-items: center; }
.team-group { width: 100%; max-width: 440px; margin-inline: auto; border-radius: 18px; }
@media (min-width: 960px) { .split { grid-template-columns: 0.8fr 1.2fr; } }
.portrait-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 14px; margin-top: 18px; }
.portrait-row .person strong { font-size: .95rem; }

.member-name { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .15em; }
.member-title { font-weight: 600; margin-bottom: 1em; }
.team-member .center p { margin-inline: auto; }

/* Initials tile shaped like the gold-framed portraits */
.initials { aspect-ratio: 1.03; width: 100%; max-width: 420px; margin-inline: auto; border: 8px solid var(--gold); border-radius: 22%; background: var(--ink); display: grid; place-items: center; }
.initials span { font-family: var(--display); font-size: clamp(2.5rem, 7vw, 5rem); color: var(--gold); }
.portrait-row .initials { border-width: 4px; }
.agent-card .initials { width: 120px; border-width: 4px; border-radius: 50%; }
.agent-card img { width: 140px; aspect-ratio: auto; border-radius: 0; }

/* Page headers: big centered serif, like the old site */
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.portrait-row .initials { width: 84%; margin-top: 8%; border-width: 4px; }
.team-member .initials { width: 86%; }
.page-head { background: #fff; border-bottom: 1px solid var(--line); }
