/* Kaplan Property Partners — shared styles */
:root {
  --navy: #28354F;
  --navy-dark: #1E283C;
  --ink: #1F2633;
  --muted: #5B6475;
  --line: #D9DDE4;
  --bg: #F3F4F6;
  --card: #FFFFFF;
  --max: 1120px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Eyebrow labels (deck style) */
.eyebrow { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9em; }
.on-dark .eyebrow { color: #B8C1D3; }

/* Header / nav */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: block; line-height: 0; }
.brand img { height: 28px; width: auto; }
.foot-logo { height: 20px; width: auto; margin-bottom: 10px; }
@media (max-width: 400px) { .brand img { height: 22px; } }
.brand small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.nav .book { display: inline-flex; }
@media (max-width: 860px) {
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
  .nav { width: 100%; gap: 14px 18px; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid var(--navy); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: #fff; }
.on-dark .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.on-dark .btn-secondary { color: #fff; border-color: #fff; }
.on-dark .btn-secondary:hover { background: rgba(255,255,255,.1); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Sections */
.hero { padding: 88px 0 72px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.white { background: #fff; }
.on-dark { background: var(--navy); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.narrow { max-width: 760px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.facts div { background: #fff; padding: 18px 20px; font-weight: 600; color: var(--navy); font-size: .95rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--muted); display: block; margin-bottom: .6em; }

ul.clean { padding-left: 1.1em; margin: 0 0 1em; }
ul.clean li { margin-bottom: .4em; }
ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
ol.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px 24px 20px 64px; position: relative; }
ol.steps li::before { content: counter(s); position: absolute; left: 22px; top: 18px; font-weight: 700; color: var(--navy); font-size: 1.2rem; }

dl.spec { display: grid; grid-template-columns: 140px 1fr; gap: 8px 20px; margin: 0 0 1.4em; }
dl.spec dt { font-weight: 600; color: var(--navy); }
dl.spec dd { margin: 0; }
@media (max-width: 560px) { dl.spec { grid-template-columns: 1fr; } dl.spec dd { margin-bottom: 8px; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq details p { margin: 12px 0 0; }

/* Founder */
.founder { display: grid; grid-template-columns: 1fr; gap: 8px; }
.founder .role { color: var(--muted); margin-bottom: 1em; }

/* Contact embed */
.schedule { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.schedule iframe { display: block; width: 100%; height: 640px; border: 0; }

/* Footer */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.15); color: #C9D0DD; padding: 36px 0; font-size: .9rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }

.statement { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.25; margin: 0; max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Depth + accent (round 2) ---- */
:root { --sage: #5F7259; --sage-light: #A9B8A1; --bg: #EEF0F3; }
.eyebrow { color: var(--sage); }
.on-dark .eyebrow { color: var(--sage-light); }
.card .num { color: var(--sage); }
.nav a:hover, .nav a[aria-current="page"] { text-decoration-color: var(--sage); text-decoration-thickness: 2px; }
.faq summary::marker { color: var(--sage); }
.hero { background: var(--bg) url(/img/topo-light.svg) center / cover no-repeat; }
.on-dark { background: var(--navy) url(/img/topo-dark.svg) center / cover no-repeat; }
.site-footer { border-top: 2px solid var(--sage); }
.card, .faq details, ol.steps li, .schedule {
  border-color: #E3E6EB;
  box-shadow: 0 1px 2px rgba(40,53,79,.06), 0 8px 24px rgba(40,53,79,.07);
}
.card { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(40,53,79,.08), 0 16px 36px rgba(40,53,79,.12); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* ---- Illustrations ---- */
.hero:has(.hero-art) { padding-bottom: 0; }
.hero-art { margin-top: 48px; line-height: 0; }
.hero-art img { display: block; width: 100%; height: clamp(150px, 22vw, 340px); object-fit: cover; object-position: center bottom; }
.band-art { line-height: 0; background: #C9D4C3; }
.band-art img { display: block; width: 100%; height: clamp(110px, 15vw, 240px); object-fit: cover; object-position: center bottom; }
.card.has-art { padding-top: 0; overflow: hidden; }
.card-art { display: block; width: calc(100% + 56px); max-width: none; margin: 0 -28px 22px; height: auto; aspect-ratio: 12 / 5; object-fit: cover; }

/* ---- Review round 2 ---- */
.site-header { background: var(--navy); border-bottom: 0; }
.nav a { color: #E6EAF0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration-color: var(--sage-light); }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--navy); border-radius: 4px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--navy); color: #fff; }
.statement { max-width: 1000px; }
.founder { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.headshot img { display: block; width: 240px; height: 240px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 24px rgba(40,53,79,.15); border: 4px solid #fff; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; gap: 20px; } .headshot img { width: 160px; height: 160px; } }
html { scroll-padding-top: 88px; }
.li-icon { width: 18px; height: 18px; display: block; }
.hero:has(.hero-art) { background-image: none; }
.hero-art { margin-top: 24px; }
.statement .lead-in { display: block; margin-bottom: .35em; }
ul.options { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
ul.options li { background: #fff; border: 1px solid #E3E6EB; border-radius: 6px; padding: 20px 24px; box-shadow: 0 1px 2px rgba(40,53,79,.06), 0 8px 24px rgba(40,53,79,.07); }

/* Google "Book a Call" popup: Google's frame is transparent and nearly full-window.
   Give it a white card at a sane size, centered on a navy backdrop.
   Excludes the inline schedule on /contact (.schedule iframe). */
iframe[src*="calendar.google.com"]:not(.schedule iframe) {
  background: #fff !important;
  border-radius: 8px !important;
  width: min(960px, calc(100vw - 32px)) !important;
  height: min(720px, calc(100vh - 96px)) !important;
  max-width: none !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35) !important;
}
div:has(> iframe[src*="calendar.google.com"]):not(.schedule) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(40, 53, 79, .75) !important;
}
