@import url("/tokens.css");
:root {
  --paper: #f4f0ea;
  --line: #cccccc;
  --max: 1348px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: rgba(0, 0, 0, 0.8);
  background: #fff;
  line-height: 1.666;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #000;
  line-height: 1.18;
}
h1 { font-size: 60px; line-height: 1.1; }
h2 { font-size: 46px; margin: 0 0 24px; }
h2:after { content: none; }
h3 { font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
.section { padding: 96px 0; }
.muted { color: var(--muted); font-size: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: 140px; display: flex; align-items: center;
  background: transparent; transition: background .2s, height .2s;
}
.site-header .bar { display: flex; align-items: center; gap: 18px; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.site-header .brand { display: block; flex: none; }
.nav-sign { height: 36px; width: auto; display: none; }
.plain .nav-sign, .site-header.scrolled .nav-sign { display: block; }
.site-phone { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; margin-left: 8px; }
.plain .site-phone, .site-header.scrolled .site-phone { color: var(--ink); }
.site-header .brand img { height: 78px; width: auto; display: none; }
.site-header .links { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-header .links a {
  font-size: 14px; line-height: 18px; text-transform: uppercase; text-decoration: none;
  padding: 21px 10px 21px 0; color: #fff; transition: color .3s linear;
}
.menu {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff; color: var(--accent); font-family: var(--font-body); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; font-size: 11px; margin-left: auto;
}
.cover .site-header .on-dark, .site-header.scrolled .on-light, .plain .site-header .on-light { display: block; }
.plain .site-header, .site-header.scrolled { background: #fff; height: 110px; }
.plain .site-header .links a, .site-header.scrolled .links a { color: #000; }
.plain { padding-top: 110px; }
.signin { background: transparent !important; color: inherit !important; border-radius: 0; padding: 21px 0 21px 10px !important; }

.hero, .page-hero, .join-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #211f1f center/cover no-repeat; color: #fff; text-align: center;
}
.page-hero, .join-hero { min-height: 70vh; }
.hero .veil, .page-hero .veil, .join-hero .veil {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .3);
}
.hero .stack, .page-hero .wrap, .join-hero .wrap { position: relative; z-index: 1; }
.hero h1, .page-hero h1, .join-hero h1 { color: #fff; margin: 0 0 12px; }
.hero .sub { font-family: var(--font-display); font-size: 25px; line-height: 34px; color: #fff; margin: 0 0 28px; }
.hero-actions, .booklet-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-search { width: min(640px, 92vw); margin: 8px auto 0; text-align: left; }
.hero-tabs { display: flex; justify-content: center; gap: 8px; }
.hero-search .hero-tabs button {
  background: transparent; color: #fff; border: 0; border-bottom: 2px solid transparent;
  min-height: 40px; padding: 8px 12px; letter-spacing: .08em;
}
.hero-search .hero-tabs button.on { border-bottom-color: var(--gold); }
.hero-bar { display: flex; background: rgba(255, 255, 255, .94); }
.hero-bar input { flex: 1; border: 0; padding: 14px 16px; font: inherit; min-width: 0; }
.hero-bar button { flex: none; }
.sell-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 0; list-style: none; margin: 24px 0; }
.sell-steps li { border-top: 2px solid var(--gold); padding-top: 10px; font-family: var(--font-display); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.book fieldset { border: 1px solid var(--line); margin: 0 0 16px; padding: 12px 16px; }
.book legend { font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: 12px; padding: 0 6px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.choice label { font-size: 16px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; max-height: 280px; overflow: auto; margin: 8px 0 16px; }
.slot { background: #fff; color: var(--ink); border: 1px solid var(--line); min-height: 40px; padding: 8px 12px; }
.slot.on { background: var(--gold-ink, #6f4e12); color: #fff; border-color: var(--gold-ink, #6f4e12); }
#book-form input, #book-form textarea { width: 100%; border: 1px solid var(--line); padding: 12px; margin: 0 0 10px; font: inherit; }
#book-form .choice input, #book-form .consent input, #book-form .hp { width: auto; margin: 0; }

.btn, button, .searchbox button, #lead-form button, #join-form button, #mail-form button {
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase; border-radius: 0; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; min-height: 50px; padding: 14px 22px;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.btn.on-photo, .hero .btn {
  background: #fff; border-color: #fff; color: var(--accent); min-height: 56px; padding: 16px 45px;
}
.btn.on-photo:hover, .hero .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
button:hover, .btn:hover { filter: none; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats b { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 400; color: #000; }
.stats span { font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.headshot { width: 100%; aspect-ratio: 1; object-fit: cover; }
.signature { width: min(420px, 100%); margin-top: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.guide {
  position: relative; min-height: 280px; display: flex; align-items: flex-end; justify-content: center;
  background: #211f1f center/cover no-repeat; color: #fff; text-decoration: none; padding: 24px;
}
.guide span {
  position: relative; z-index: 1; font-family: var(--font-display); font-size: 20px; text-align: center;
}
.guide:after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.place {
  position: relative; min-height: 320px; display: grid; place-items: center;
  background: #211f1f center/cover no-repeat; color: #fff; text-decoration: none;
}
.place h3 { color: #fff; position: relative; z-index: 1; }
.place:after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }

.card { background: var(--paper); border: 0; border-radius: 0; overflow: hidden; }
.card .ph { height: 240px; background: #eeede9 center/cover no-repeat; position: relative; }
.card .badge {
  position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px;
}
.card .bd, .prose { padding: 16px 14px 20px; }
.card h3 { font-family: var(--font-body); font-size: 14px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; margin: 6px 0; }
.card h3 a { text-decoration: none; }
.price { font-family: var(--font-display); font-size: 22px; color: #000; }
.meta { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

.quote { max-width: 820px; margin: 0 auto; text-align: center; min-height: 180px; }
.quote p { font-size: 18px; }
.badge-logo { width: 72px; height: 72px; object-fit: contain; }
.center { text-align: center; }
.band { background: var(--sand); }
.band-dark { background: var(--ink); color: #fff; }
.band-dark h2, .band-dark p { color: #fff; }

#lead-form, #join-form, #mail-form { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
#lead-form h3, #join-form h3 { margin: 0; }
form input:not([type="checkbox"]):not([type="hidden"]), form select, form textarea {
  font: 16px/1.4 var(--font-body); border: 1px solid var(--line); border-radius: 0;
  padding: 12px; width: 100%; background: #f3f3f3; color: var(--ink);
}
#lead-form .consent, #join-form .consent, #mail-form .consent, form .consent {
  display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted);
}
#lead-form .consent input, #join-form .consent input, #mail-form .consent input, form .consent input {
  width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px;
}
#join-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#lead-form [data-step] { display: flex; flex-direction: column; gap: 12px; }
#lead-form [data-step][hidden], [hidden] { display: none !important; }
.lf-progress, #lead-form .lf-progress { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
#lead-form .pills { display: flex; flex-wrap: wrap; gap: 8px; }
#lead-form .pills button { background: #fff; color: var(--ink); border: 1px solid var(--line); min-height: 44px; }
#lead-form .pills button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 28px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; min-width: 140px; }
.searchbox { display: flex; gap: 8px; }
.searchbox input { border: 1px solid var(--line); }

.foot { padding: 96px 0 40px; background: #fff; border-top: 1px solid var(--line); }
.foot-logo { width: 180px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; margin-top: 28px; }
.foot h2 { font-size: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }
.eho { width: 180px; margin-top: 18px; }
.legal h1 { font-size: 46px; }
.legal h2 { font-size: 28px; margin-top: 28px; }
.booklet-frame { width: 100%; height: 720px; border: 0; background: #111; }
.booklet-pages { display: none; }
.booklet-pages img { width: min(100%, 720px); background: #fff; }
.booklet-actions { margin: 16px 0 28px; }
.mls, .eh { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--muted); margin-top: 16px; }
.mls img, .eh img { width: 72px; height: auto; }
.layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; background: var(--sand); }
.gallery img.main { grid-row: span 2; height: 366px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.kv div { background: #fff; padding: 10px 12px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent-hero { display: flex; gap: 18px; align-items: center; }
.agent-hero .headshot { width: 240px; height: 240px; object-fit: cover; }
.hide { display: none !important; }

.connect {
  position: fixed; left: 19px; bottom: 19px; z-index: 30;
  background: var(--accent); color: #fff; border: 1px solid rgba(255,255,255,.2);
  border-radius: 25px; padding: 0 24px; min-height: 48px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: .4px; font-weight: 400;
}

@media (max-width: 900px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .section { padding: 64px 0; }
  .stats, .split, .grid, .guides, .foot-grid, .layout, .team { grid-template-columns: 1fr; }
  .menu { display: inline-flex; }
  .site-header .brand img { height: 56px; }
  .site-header .links {
    display: none; position: absolute; top: 110px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 24px 24px;
  }
  body.menu-open .site-header .links { display: flex; }
  body.menu-open .site-header { background: #fff; }
  body.menu-open .site-header .links a { color: #000; }
  body.menu-open .on-dark { display: none; }
  body.menu-open .on-light { display: block; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery img.main { height: 220px; grid-row: auto; }
  .booklet-frame { display: none; }
  .booklet-pages { display: block; }
  .nav-sign { display: none !important; }
  .sell-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-bar { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .hero .btn { width: 100%; }
}
