/* Classen Realty Group — site styles */
:root {
  --ink: #221F1F;
  --paper: #F6F5F2;
  --white: #FFFFFF;
  --sand: #EFEDE8;
  --stone: #E6E3DD;
  --line: #DEDAD3;
  --line-2: #D3CFC7;
  --body: #3D4A55;
  --muted: #5F6A73;
  --gold: #F9AE40;
  --bronze: #9A6410;
  --bronze-dark: #7A4F0C;
  --on-dark: #D9D7D3;
  --dark-line: #3A3636;
  --max: 1280px;
  --gutter: clamp(16px, 5.5vw, 80px);
  --section: clamp(64px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--bronze); }
a:hover { color: var(--bronze-dark); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-gold { background: var(--gold); color: var(--ink); }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bronze); }
.bg-ink .eyebrow { color: var(--gold); }
.h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; }
.h2 { font-size: clamp(30px, 3.4vw, 42px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--body); line-height: 1.55; }
.bg-ink .lead, .bg-ink p { color: var(--on-dark); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.center { text-align: center; align-items: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 28px; border-radius: 4px;
  font: inherit; font-size: 17px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F7A022; color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: var(--paper); }
.btn-ink-gold { background: var(--ink); color: var(--gold); }
.btn-ink-gold:hover { background: #000; color: var(--gold); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.textlink { font-weight: 700; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 52px; height: 52px; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name { font-family: Cinzel, Georgia, serif; font-size: 25px; font-weight: 600; letter-spacing: 1.5px; line-height: 1; }
.brand-sub { font-size: 11px; font-weight: 700; letter-spacing: 3.2px; line-height: 1; }
.brand-desc { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { color: var(--bronze); }
.nav a:hover { color: var(--bronze); }
.nav .btn { padding: 12px 22px; font-size: 16px; color: var(--paper); }
.nav .btn:hover { color: var(--paper); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); min-width: 44px; min-height: 44px; }

@media (max-width: 860px) {
  .brand-desc { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 21px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* Image placeholders: drawn landscape until real photos arrive */
.photo {
  position: relative; border-radius: 6px; overflow: hidden; background: var(--stone);
  aspect-ratio: 16 / 15; width: 100%;
}
.photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-label {
  position: absolute; left: 16px; bottom: 16px; font-size: 12px; font-weight: 600;
  background: rgba(246,245,242,.92); color: var(--muted); padding: 6px 10px; border-radius: 3px;
}

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .stack { gap: 28px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero .photo { aspect-ratio: 16/10; } }

/* Proof bar */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; padding: 56px 0; }
.proof-item strong { display: block; font-size: 18px; margin-bottom: 6px; }
.proof-item span { font-size: 16px; color: var(--on-dark); }
.proof-item.accent strong { color: var(--gold); }
@media (max-width: 860px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; gap: 24px; } }

/* Split heading layout */
.split { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); }
.split-side { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.bridge { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; color: var(--bronze); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { padding: 20px 0; border-top: 1px solid var(--line-2); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; }
.rows li:last-child { border-bottom: 1px solid var(--line-2); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Problem */
.problem { max-width: 1000px; }
.problem p { max-width: 820px; }

/* Guide */
.guide { display: grid; grid-template-columns: 480px 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.guide .photo { aspect-ratio: 6/5; }
.pull { font-size: clamp(20px, 2vw, 24px); line-height: 1.35; font-weight: 700; color: var(--bronze); }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } .guide .photo { aspect-ratio: 16/10; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: var(--line-2); }
.step { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; position: relative; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.step h3 { font-size: 24px; }
.step p { font-size: 17px; color: var(--body); line-height: 1.55; }
.step p strong { color: var(--ink); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 0; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 8px; text-align: left; align-items: start; }
  .step-num { grid-row: span 4; }
}

/* Services cards */
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.toggle { display: inline-flex; padding: 4px; background: var(--white); border: 1px solid var(--line-2); border-radius: 28px; }
.toggle button { font: inherit; font-size: 16px; font-weight: 700; min-height: 48px; padding: 0 24px; border: 0; border-radius: 24px; background: transparent; color: var(--ink); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.buy-intro { font-size: 20px; font-weight: 700; color: var(--bronze); }
.svc-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; margin-top: 40px; }
.card { background: var(--white); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card .photo { border-radius: 0; aspect-ratio: auto; height: 300px; }
.card-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card h3 { font-size: clamp(26px, 2.4vw, 32px); }
.tags { font-size: 14px; font-weight: 700; letter-spacing: .5px; line-height: 1.5; color: var(--bronze); }
.card-copy { font-size: 18px; line-height: 1.6; color: var(--body); }
.card-line { border-top: 1px solid var(--line); padding-top: 16px; font-size: 18px; line-height: 1.55; font-weight: 600; }
.card .textlink { margin-top: auto; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr; } }

.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.offer { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.offer.featured { border: 2px solid var(--gold); }
.offer h3 { font-size: 22px; }
.offer p { font-size: 16px; line-height: 1.55; color: var(--body); flex-grow: 1; }
.offer .btn { align-self: flex-start; font-size: 15px; padding: 12px 18px; }
@media (max-width: 1100px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: 1fr; } }

/* Developer bridge */
.dev { display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px, 6vw, 80px); align-items: center; }
.dev-box { display: flex; flex-direction: column; gap: 16px; padding: 32px; border: 1px solid var(--dark-line); border-radius: 6px; }
.dev-box p { font-style: italic; font-size: 17px; }
.trust { color: var(--gold) !important; font-size: 16px; }
@media (max-width: 900px) { .dev { grid-template-columns: 1fr; } }

/* Values / ruled grid */
.ruled { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.ruled.two { grid-template-columns: repeat(2, 1fr); gap: 40px 64px; }
.ruled > div { border-top: 3px solid var(--bronze); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.ruled.gold > div { border-top-color: var(--gold); }
.ruled h3 { font-size: 22px; }
.ruled p { font-size: 17px; line-height: 1.6; color: var(--body); }
.stat { font-size: 44px; font-weight: 700; line-height: 1; }
@media (max-width: 860px) { .ruled, .ruled.two { grid-template-columns: 1fr; gap: 32px; } }

/* CTA */
.cta { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cta h2 { font-size: clamp(34px, 4vw, 49px); }
.cta p { max-width: 680px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.cta .fine { font-size: 15px; font-weight: 600; letter-spacing: .5px; color: var(--body); }
.cta .btn { font-size: 18px; padding: 18px 40px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; padding: 72px 0 48px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col.right { text-align: right; align-items: flex-end; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand img { width: 48px; height: 48px; }
.site-footer .brand-name { font-size: 22px; }
.site-footer .brand-sub { font-size: 10px; letter-spacing: 3px; }
.motto { color: var(--gold); font-weight: 600; padding-top: 8px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 8px; }
.foot-links a { color: var(--paper); }
.foot-links a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid var(--dark-line); margin-top: 32px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 13px; color: #ADA9A3; }
.foot-bottom a { color: #ADA9A3; }
@media (max-width: 700px) { .foot-col.right { text-align: left; align-items: flex-start; } }

/* About */
.note { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 7vw, 96px); }
.note-body { display: flex; flex-direction: column; gap: 24px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.6; color: var(--body); max-width: 760px; }
.sig { font-style: italic; font-weight: 600; color: var(--ink); font-size: 20px; }
@media (max-width: 860px) { .note { grid-template-columns: 1fr; } }
.bio { display: grid; grid-template-columns: 420px 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.bio .photo { aspect-ratio: 420/520; }
@media (min-width: 961px) { .bio .headshot { position: sticky; top: 112px; } }
.headshot { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; border-radius: 6px; background: var(--stone); }
.bio-body { display: flex; flex-direction: column; gap: 20px; }
.bio-body p { font-size: 18px; line-height: 1.7; color: var(--body); }
.role { font-size: 18px; font-weight: 600; color: var(--muted); }
@media (max-width: 960px) { .bio { grid-template-columns: 1fr; } .bio .photo, .bio .headshot { max-width: 420px; } }

/* Properties */
.page-head { padding: clamp(64px, 8vw, 96px) 0 56px; }
.filters { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; }
.filters .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-label { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid #B8B3AA; background: var(--white); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
@media (max-width: 1000px) { .listings { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .listings { grid-template-columns: 1fr; } }
.listing-photo { position: relative; aspect-ratio: 5 / 4; background: var(--stone); }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 16px; left: 16px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 6px 12px; border-radius: 3px; }
.listing h3 { font-size: 24px; line-height: 1.2; }
.listing-meta { font-size: 15px; font-weight: 600; color: var(--muted); }
.price { font-size: 22px; font-weight: 700; color: var(--bronze); }
.listing .card-copy { font-size: 16px; line-height: 1.5; }
.facts { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 14px; color: var(--body); }
.facts strong { color: var(--ink); }
.empty { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 820px; }
.empty h2 { font-size: clamp(26px, 2.6vw, 32px); }
.empty p { font-size: 18px; color: var(--body); line-height: 1.6; }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; margin-top: 36px; }
.types h3 { font-size: 24px; margin-bottom: 14px; }
.types ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 32px; }
.types li { font-size: 16px; line-height: 1.5; color: var(--body); padding: 3px 0; break-inside: avoid; }
@media (max-width: 860px) { .types { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 420px) { .types ul { columns: 1; } }
.callouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.callout { border-radius: 6px; padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; justify-content: center; align-items: flex-start; }
.callout h2 { font-size: clamp(28px, 2.6vw, 34px); }
.callout p { font-size: 18px; line-height: 1.55; }
@media (max-width: 860px) { .callouts { grid-template-columns: 1fr; } }

/* Book page */
.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 700; padding: 0; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid #B8B3AA; border-radius: 4px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.form-msg { border-radius: 4px; padding: 16px; font-size: 16px; line-height: 1.5; background: var(--sand); border-left: 0; }
.form-msg[hidden] { display: none; }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; font-size: 18px; line-height: 1.5; color: var(--body); }
.checklist svg { flex-shrink: 0; margin-top: 4px; color: var(--bronze); }

/* Call Now: fixed on every page, bottom-right on desktop, full-width bar on phones */
.call-now {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 12px 22px 12px 14px; border-radius: 6px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  border: 1px solid var(--dark-line);
  box-shadow: 0 10px 28px rgba(34, 31, 31, .28);
  transition: transform .15s ease, background .15s ease;
}
.call-now:hover { background: #000; color: var(--paper); transform: translateY(-1px); }
.call-now:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.call-now-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink);
}
.call-now-icon svg { width: 20px; height: 20px; }
.call-now-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.call-now-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.call-now-number { font-size: 18px; font-weight: 700; white-space: nowrap; }
/* Leave room so the box never covers the end of the footer */
.site-footer { padding-bottom: 128px; }
@media (max-width: 600px) {
  .call-now {
    left: 0; right: 0; bottom: 0; border-radius: 0; border-width: 1px 0 0;
    justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(34, 31, 31, .18);
  }
  .call-now:hover { transform: none; }
  .call-now-icon { width: 36px; height: 36px; }
  .call-now-text { flex-direction: row; align-items: baseline; gap: 10px; }
  .site-footer { padding-bottom: calc(48px + 64px + env(safe-area-inset-bottom)); }
}
@media print { .call-now { display: none; } }

/* Book page: embedded Google Calendar appointment schedule */
.scheduler { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.scheduler-frame { display: block; width: 100%; height: 760px; border: 0; background: var(--white); }
.scheduler-alt { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--body); }
@media (max-width: 600px) { .scheduler-frame { height: 900px; } }

/* TREC notice links: 12pt (16px), one per line */
.trec-links { display: flex; flex-direction: column; gap: 8px; }
.foot-bottom .trec-link { font-size: 16px; line-height: 1.4; color: var(--on-dark); text-decoration: underline; text-underline-offset: 2px; }
.foot-bottom .trec-link:hover { color: var(--gold); }

/* Real photos inside .photo frames */
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
