:root {
  --ink: #172c2e;
  --muted: #606a66;
  --gold: #aa8650;
  --paper: #f8f6f1;
  --line: #dedbd1;
}

body { font-size: 16px; color: var(--ink); }
header {
  position: relative;
  height: 142px;
  padding: 0 6%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 88px 54px;
  color: var(--ink);
  background: #fbfaf7;
  border-bottom: 1px solid #d6cbb5;
}
.brand { gap: 17px; align-self: center; }
.brand .brand-mark { width: 54px; height: 54px; color: #d7ba85; }
.brand span { font-size: 29px; letter-spacing: 4px; font-weight: 750; color: #172622; }
.brand small { font-size: 10px; letter-spacing: 5px; color: #827761; margin-top: 3px; }
nav {
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 38px;
  align-self: stretch;
  align-items: center;
  border-top: 1px solid #e9e4d9;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}
nav a, nav .nav-advisor { display: inline-flex; align-items: center; min-height: 48px; }
nav .nav-primary, nav .nav-secondary {
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #233c34;
  border-radius: 3px;
  font-weight: 650;
  transition: background-color .2s, color .2s;
}
nav .nav-primary { background: #233c34; color: #fffaf0; margin-right: -24px; }
nav .nav-primary:hover { background: #365449; }
nav .nav-secondary { border-color: #b79a64; color: #493c25; background: #f3eddf; }
nav .nav-secondary:hover { background: #e9deca; }
nav .nav-primary:after, nav .nav-secondary:after { display: none; }
nav a:after { bottom: 3px; }
.header-cta {
  grid-column: 2;
  grid-row: 1;
  border: 1px solid #b69c72;
  color: #5b492d;
  padding: 12px 22px;
  min-height: 46px;
  font-size: 13px;
  background: #f4f0e7;
  align-self: center;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  height: auto;
  min-height: 610px;
  max-height: none;
  background: #192f29;
}
.hero-photo { position: relative; min-width: 0; min-height: 100%; margin: 0; overflow: hidden; }
.hero-image { inset: 0; object-position: 84% center; }
.hero-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 35px 28px 20px;
  background: linear-gradient(transparent, #102522c2);
  color: #fff9ed;
  font-size: 12px;
  letter-spacing: 2px;
  text-align: right;
}
.hero-copy {
  position: relative;
  inset: auto;
  align-self: center;
  min-width: 0;
  padding: 74px clamp(30px, 5vw, 88px);
}
.hero-copy .eyebrow {
  color: #e8dac0;
  font-size: 15px;
  letter-spacing: 6px;
  margin-bottom: 23px;
}
.hero-copy h1 { font-size: clamp(34px, 3.4vw, 56px); line-height: 1.55; letter-spacing: 2px; margin-bottom: 24px; color: #fffaf0; }
.hero-copy h1 span { display: block; }
.hero-copy h1 span { color: #f0dfbd; }
.hero-copy p { color: #f2eee3; font-size: 16px; line-height: 2.05; letter-spacing: 1px; }
.hero-copy .hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 30px; }
.hero-actions .primary, .hero-actions .hero-outline {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  min-height: 52px;
  padding: 13px 24px;
  font-size: 15px;
  letter-spacing: 2px;
}
.hero-actions .primary { color: #2e2d25; border-color: #dbc6a1; background: #e4d1af; }
.hero-actions .primary:hover { background: #f2e2c7; }
.hero-actions .hero-outline { border: 1px solid #efe9dd9c; color: #fff; background: #102c3033; }
.hero-bottom { font-size: 12px; letter-spacing: 2px; bottom: 30px; }
.eyebrow { font-size: 13px; color: #8c6b3d; letter-spacing: 3px; }
h2, .section-top h2, .intro h2 { font-size: clamp(30px, 3vw, 41px); font-weight: 500; letter-spacing: 2px; }
.text-link { font-size: 14px; min-height: 40px; color: #675332; }
.section { padding-top: 92px; padding-bottom: 92px; }
.section-top { margin-bottom: 35px; }
.section-note, .intro p, .feature p, .budget-section>div>p { font-size: 15px; color: #626d66; }
.search { max-width: 1240px; padding-top: 26px; padding-bottom: 26px; }
.search label { font-size: 12px; color: #6e7369; }
.search select { font-size: 16px; }
.search-heading { font-size: 14px; }
.search-heading b { font-size: 20px; }
.search .primary { font-size: 14px; }
.intro { padding-top: 78px; padding-bottom: 75px; }
.intro-rule { font-size: 12px; color: #837157; }
.homes { padding-top: 0; }
.home-grid { gap: 26px; }
.home-card { background: #fffdfa; border: 1px solid #e4dfd4; }
.home-card .image-frame { height: 280px; }
.home-card .home-photo-link { display: block; height: 100%; }
.home-card .image-label {
  background: #f9f5eced;
  color: #594a32;
  top: 17px;
  left: 17px;
  font-size: 12px;
  padding: 7px 12px;
  letter-spacing: 1px;
}
.home-info { padding: 25px 23px 24px; }
.home-info .category { font-size: 12px; }
.home-info h3 { font-size: 26px; margin: 10px 0 12px; }
.home-info .home-address { font: 15px Georgia, serif; color: #747369; min-height: 26px; }
.home-info p { color: #69736c; font-size: 14px; min-height: 54px; }
.home-info .home-facts { font-size: 13px; min-height: 0; margin: 13px 0 0; color: #8a7049; }
.home-info .text-link { margin-top: 14px; }
.homes>.subtle { margin-top: 20px; color: #6d766c; font-size: 11px; }
.save { width: 39px; height: 39px; right: 15px; top: 16px; }
.community-section { background: #edede5; }
.community-card { background: #f9f8f3; padding: 28px; }
.community-card p { font-size: 14px; color: #626e65; }
.community-card small { font-size: 12px; }
.community-card h3 { font-weight: 500; }
.filter-bar button { font-size: 15px; padding: 0 10px 15px; }
.feature { background: #203a3c; }
.feature .feature-copy { padding: 64px 10%; }
.feature h2 { font-size: 34px; }
.feature p { color: #d0d9d3; font-size: 15px; }
.feature .line-link { font-size: 14px; }
.journal-main h3 { font-size: 25px; }
.article-list h3 { font-size: 22px; }
.article-list p { font-size: 14px; color: #687267; }
.category { font-size: 12px; }
.journey { background: #203a3c; }
.journey-tabs button { font-size: 16px; }
.step p { font-size: 14px; }
.step h3 { font-size: 24px; }
.budget-section label { font-size: 13px; }
.budget-section input, .budget-section select { font-size: 16px; }
.closing { background: #e9e4d9; }
.closing h2 { font-size: 38px; }
.closing p { font-size: 15px; color: #687063; }
footer { background: #182e31; }
footer .brand span { color: #ece6d9; }
footer .brand small { color: #b8ad94; }
.footer-top>div { font-size: 13px; }
.footer-contact { font-size: 15px; }
.listing-filters label { font-size: 13px; }
.listing-filters select { font-size: 16px; }
.listing-card { padding: 25px; border-top: 3px solid #bd9d67; }
.listing-card-label { font-size: 13px; }
.listing-card h3 { font-size: 22px; }
.listing-specs { font-size: 14px; }
.listing-detail { font-size: 15px; min-height: 48px; }
.listing-neighbourhood { font-size: 13px; }
.listing-source { font-size: 11px; }
.listing-price { font-size: 30px; }
.listing-note { font-size: 12px; }
.advisor-float { font-size: 14px; padding: 12px 19px; }

@media(max-width:1000px) {
  header { padding: 0 5%; }
  nav { gap: 27px; font-size: 15px; }
  nav .nav-primary { margin-right: -15px; }
  .hero-copy { padding: 58px 30px; }
  .home-card .image-frame { height: 230px; }
  .home-info { padding: 20px 17px; }
  .home-info h3 { font-size: 23px; }
  .feature h2 { font-size: 28px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .homes { padding-top: 0; }
}

@media (min-width: 701px) and (max-width: 850px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-inline: 24px; }
  .hero-copy h1 { font-size: 31px; letter-spacing: 1px; }
}

@media(max-width:700px) {
  header {
    height: 132px;
    grid-template-rows: 79px 53px;
    grid-template-columns: 1fr;
    padding: 0;
  }
  header .brand { padding: 0 21px; gap: 12px; }
  .brand .brand-mark { width: 40px; height: 43px; }
  .brand span { font-size: 24px; letter-spacing: 3px; }
  .brand small { font-size: 9px; letter-spacing: 3px; }
  nav, nav.open {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
    padding: 0 18px;
    gap: 23px;
    background: #fbfaf7;
    color: var(--ink);
    font-size: 15px;
    white-space: nowrap;
  }
  nav::-webkit-scrollbar { display: none; }
  nav>* { flex: 0 0 auto; }
  nav .nav-primary, nav .nav-secondary { min-height: 40px; padding: 0 13px; }
  nav .nav-primary { margin-right: -14px; }
  nav a:after { display: none; }
  .header-cta, .menu-toggle { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { min-height: 268px; }
  .hero-photo figcaption { padding: 26px 18px 13px; font-size: 10px; }
  .hero-image { object-position: 84% center; }
  .hero-copy { padding: 38px 23px 36px; }
  .hero-copy .eyebrow { font-size: 12px; letter-spacing: 3px; margin-bottom: 22px; }
  .hero-copy .eyebrow i { width: 18px; margin-right: 6px; }
  .hero-copy h1 { font-size: clamp(28px, 8vw, 34px); letter-spacing: 1px; line-height: 1.75; margin-bottom: 21px; }
  .hero-copy p { font-size: 14px; line-height: 2; letter-spacing: 1px; }
  .hero-copy .hero-actions { gap: 11px; margin-top: 27px; }
  .hero-actions .primary, .hero-actions .hero-outline { min-height: 47px; padding: 11px 16px; font-size: 13px; gap: 18px; }
  .hero-bottom { font-size: 10px; bottom: 24px; }
  .section { padding: 58px 22px; }
  h2, .section-top h2, .intro h2 { font-size: 29px; }
  .search-heading { font-size: 13px; }
  .search-heading b { font-size: 17px; }
  .search select { font-size: 16px; }
  .eyebrow { font-size: 12px; }
  .section-note, .intro p { font-size: 14px; }
  .homes { padding-top: 0; }
  .home-grid { gap: 27px; }
  .home-card .image-frame { height: 270px; }
  .home-info { padding: 22px; }
  .home-info h3 { font-size: 26px; }
  .home-info p { min-height: 0; }
  .home-info .home-address { font-size: 16px; }
  .community-card { padding: 21px 16px; }
  .community-card p { font-size: 13px; }
  .community-card small { font-size: 10px; }
  .filter-bar button { font-size: 13px; padding: 0 0 14px; }
  .feature .feature-copy { padding: 43px 26px; }
  .feature h2 { font-size: 28px; }
  .feature p { font-size: 14px; }
  .article-list h3 { font-size: 21px; }
  .article-list p { font-size: 13px; }
  .step p { font-size: 13px; }
  .closing h2 { font-size: 29px; }
  .closing p { font-size: 14px; }
  .listing-card { padding: 22px; }
  .listing-filters { gap: 15px; }
  .listing-filters label { font-size: 12px; }
  .listing-filters select { font-size: 16px; }
  .advisor-float { font-size: 13px; }
}
