/* Front Gate Properties — site styles */
:root {
  --ink: #20272b;
  --ink-2: #2b3134;
  --ink-3: #3c4448;
  --cream: #f8f6f0;
  --paper: #ffffff;
  --sand: #d9cfb8;
  --line: #ddd8cc;
  --gold: #ac8547;
  --gold-deep: #86662f;
  --mute: #5f666a;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 18px;
}
.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 22px 0 26px; }
.lede { font-size: 1.15rem; color: var(--ink-3); max-width: 62ch; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--paper); padding: 10px 14px; }

/* Header */
.site-header { background: var(--ink); color: var(--cream); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; }
.brand img { width: 74px; height: auto; }
.brand span { font-family: var(--serif); font-size: 1.12rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--cream); text-decoration: none; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: #fff; }
.site-nav a.nav-phone { color: var(--sand); letter-spacing: 0.06em; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink-3); color: var(--cream); padding: 9px 12px; font: inherit; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold); transition: background .2s, color .2s;
}
.btn-solid { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-solid:hover { background: #6d5224; border-color: #6d5224; color: #fff; }
.btn-ghost { color: var(--cream); }
.btn-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-dark { color: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero */
.hero { background: var(--ink); color: var(--cream); padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px); position: relative; overflow: hidden; min-height: min(78vh, 760px); display: flex; align-items: center; }
.hero > .wrap { flex: 1; }
.hero::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: min(620px, 70vw); aspect-ratio: 167 / 93;
  background: url(../img/logo-white.png) center / contain no-repeat; opacity: 0.05; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--sand); }
.hero p.lede { color: #cfd3d1; margin-top: 26px; max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--ink-3); align-items: center; }
.chips span { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: #9aa19f; margin-right: 8px; }
.chips a { color: var(--cream); text-decoration: none; font-size: 0.9rem; padding: 8px 16px; border: 1px solid var(--ink-3); border-radius: 999px; }
.chips a:hover { border-color: var(--gold); color: #fff; }

.page-head { background: var(--ink); color: var(--cream); padding: clamp(54px, 8vw, 96px) 0 clamp(44px, 6vw, 70px); }
.page-head .eyebrow { color: var(--sand); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 20ch; }
.page-head p { color: #cfd3d1; max-width: 60ch; margin-top: 20px; font-size: 1.1rem; }

/* Sections */
section { padding: clamp(60px, 9vw, 110px) 0; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: var(--cream); }
.dark .eyebrow { color: var(--sand); }
.dark p { color: #cfd3d1; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); padding: 0; }
.facts div { padding: 34px 24px; text-align: center; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.5rem; line-height: 1; color: var(--ink); }
.facts span { display: block; margin-top: 10px; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

/* Specialty list */
.specialties { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specialties li { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.specialties .num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); }
.specialties h3 { margin-bottom: 8px; }
.specialties p { color: var(--ink-3); max-width: 58ch; }
.specialties a.more { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.specialties a.more::after { content: " →"; }

/* Photo tiles */
.sec-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 6vw, 84px); align-items: end; margin-bottom: 44px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; padding: 26px 24px;
  background: var(--ink) center / cover no-repeat; color: var(--cream); text-decoration: none; border-bottom: 3px solid var(--gold);
  transition: transform .25s;
}
.tile:hover { color: #fff; transform: translateY(-4px); }
.tile h3 { font-size: 1.7rem; margin-bottom: 10px; }
.tile p { font-size: 0.92rem; color: #cfd3d1; margin-bottom: 16px; }
.tile .more { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); }
.tile .more::after { content: " \2192"; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 30px 28px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-3); font-size: 0.98rem; }
.card .tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 12px; }

/* Prose */
.prose h2 { margin: 1.8em 0 0.5em; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--ink-3); }

/* Team */
.team-photo { background: var(--cream); }
.team-photo img { width: 100%; max-width: 420px; margin: 0 auto; mix-blend-mode: multiply; }
.team-photo.crop { background: #f8f5ee; border: 1px solid var(--line); }
.team-photo.crop img { max-width: none; aspect-ratio: 5 / 5.2; object-fit: cover; object-position: top center; mix-blend-mode: normal; }
.bio { padding: 34px 0; border-top: 1px solid var(--line); }
.bio:first-child { border-top: 0; padding-top: 0; }
.bio .role { font-size: 0.76rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin: 8px 0 18px; }
.bio p { color: var(--ink-3); }
.bio .contact { margin-top: 18px; font-size: 0.95rem; color: var(--mute); }
.bio .contact a { white-space: nowrap; }
.monogram {
  width: 100%; max-width: 300px; aspect-ratio: 4 / 5; margin: 0 auto; background: var(--ink); color: var(--sand);
  display: grid; place-items: center; font-family: var(--serif); font-size: 5rem; letter-spacing: 0.06em;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.contact-grid .card { padding: 28px 22px; }
.contact-grid .card a { overflow-wrap: anywhere; font-size: 0.95rem; }
.contact-grid .card a { display: block; text-decoration: none; margin-top: 4px; }
.contact-grid .card a:hover { text-decoration: underline; }
address { font-style: normal; }

/* IDX */
.idx-bar { background: var(--ink-2); color: var(--cream); padding: 14px 0; }
.idx-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; max-width: none; }
.idx-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.idx-tab { background: none; border: 1px solid var(--ink-3); color: var(--cream); padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 0.88rem; cursor: pointer; }
.idx-tab:hover { border-color: var(--gold); }
.idx-tab[aria-pressed="true"] { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.idx-bar h1 { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.idx-bar a { color: var(--sand); font-size: 0.85rem; }
.idx-frame { display: block; width: 100%; height: calc(100vh - 76px - 56px); min-height: 640px; border: 0; background: var(--paper); }
.idx-note { padding: 22px 0 30px; font-size: 0.88rem; color: var(--mute); }

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 22ch; margin: 0 auto; }
.cta p { max-width: 52ch; margin: 20px auto 0; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #b9bfbd; padding: 60px 0 34px; font-size: 0.92rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 7px; }
.foot-brand img { width: 120px; margin-bottom: 16px; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ink-3); font-size: 0.82rem; }
.foot-legal img { width: 92px; opacity: 0.85; }

/* Responsive */
@media (max-width: 900px) {
  .split, .split.even, .sec-head { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 24px 20px; border-top: 1px solid var(--ink-3);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--ink-3); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { width: 56px; }
  .brand { gap: 10px; }
  .brand span { font-size: 0.74rem; letter-spacing: 0.12em; }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-left: 0; border-top: 1px solid var(--line); padding: 26px 16px; }
  .facts div:first-child { border-top: 0; }
  .specialties li { grid-template-columns: 40px 1fr; }
  .specialties a.more { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 10; }
  .idx-frame { height: calc(100vh - 76px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .tile { transition: none; } .tile:hover { transform: none; } }

/* ------------------------------------------------------------------
   PHOTOS
   Home page hero and tile photos live in assets/img/. To change one,
   replace the file and keep the same name (hero about 2000px wide,
   tiles about 1200px wide, JPG).
   ------------------------------------------------------------------ */
.hero {
  background-image: linear-gradient(90deg, rgba(32,39,43,.74) 0%, rgba(32,39,43,.5) 45%, rgba(32,39,43,.1) 100%), url(../img/hero.jpg);
  background-size: cover; background-position: center 45%;
}
.hero h1, .hero p.lede { text-shadow: 0 1px 14px rgba(20,25,28,.75), 0 0 2px rgba(20,25,28,.6); }
.hero .eyebrow { text-shadow: 0 1px 8px rgba(20,25,28,.8); }
.hero .btn-ghost { background: rgba(32,39,43,.5); }
.hero-caption { position: absolute; right: 24px; bottom: 18px; z-index: 1; margin: 0; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(20,25,28,.9); }
@media (max-width: 620px) {
  .hero { background-image: linear-gradient(rgba(32,39,43,.6), rgba(32,39,43,.6)), url(../img/hero.jpg); padding-bottom: 70px; }
  .hero-caption { right: 16px; bottom: 14px; }
}
.hero::after { display: none; }
.hero .chips { border-top-color: rgba(248,246,240,.25); }
.hero .chips span { color: #d5d9d7; }
.hero .chips a { border-color: rgba(248,246,240,.4); background: rgba(32,39,43,.45); }
.tile-equestrian { background-image: linear-gradient(to top, rgba(32,39,43,.95) 0%, rgba(32,39,43,.8) 50%, rgba(32,39,43,.15) 100%), url(../img/tile-equestrian.jpg); }
.tile-downtown   { background-image: linear-gradient(to top, rgba(32,39,43,.95) 0%, rgba(32,39,43,.8) 50%, rgba(32,39,43,.15) 100%), url(../img/tile-downtown.jpg); background-position: 38% center; }
.tile-land       { background-image: linear-gradient(to top, rgba(32,39,43,.95) 0%, rgba(32,39,43,.8) 50%, rgba(32,39,43,.15) 100%), url(../img/tile-land.jpg); }
.tile-homes      { background-image: linear-gradient(to top, rgba(32,39,43,.95) 0%, rgba(32,39,43,.8) 50%, rgba(32,39,43,.15) 100%), url(../img/tile-homes.jpg); background-position: 44% center; }

.headshot { width: 100%; max-width: 240px; margin: 0 auto; border-bottom: 3px solid var(--gold); }

.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.4em; }
.idx-note p { margin-bottom: 0.8em; }

/* Social links */
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink-3); border-radius: 50%; color: var(--cream); transition: border-color .2s, background .2s; }
.social a:hover { border-color: var(--gold); background: var(--ink-2); color: #fff; text-decoration: none; }
.follow { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.follow h2 { font-size: 1.9rem; }
.follow .social { margin-top: 0; }
.social-light a { width: auto; height: 48px; padding: 0 22px; gap: 10px; display: inline-flex; align-items: center; border-radius: 999px; border-color: var(--ink); color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.social-light a:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.social { flex-wrap: wrap; }
@media (max-width: 380px) {
  .brand img { width: 46px; }
  .brand span { font-size: 0.64rem; letter-spacing: 0.08em; }
  .nav-toggle { padding: 8px 10px; font-size: 0.72rem; }
}
