:root {
  --paper: #f3efe6;
  --ink: #1c1914;
  --cream: #f7f3ea;
  --brass: #8d6840;
  --pine: #1e3f36;
  --line: #e4d9c8;
  --muted: #5e584e;
  --hero-text: #f6f1e7;
  --serif: "Fraunces", "Noto Serif", Georgia, serif;
  --sans: "Outfit", Inter, "Noto Sans", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  z-index: 50;
}
.skip:focus { top: 0.5rem; }

.staging {
  background: #3c2922;
  color: #f6f1e7;
  padding: 0.7rem 1rem;
  font-size: 0.86rem;
}
.staging-inner, .wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.staging p { margin: 0 0 0.45rem; }
.price-switch { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.price-switch a {
  border: 1px solid rgba(246, 241, 231, 0.4);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  text-decoration: none;
  font-size: 0.8rem;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; font-family: var(--serif); font-size: 1.25rem; }
.nav { display: none; gap: 1rem; }
.nav a { text-decoration: none; font-size: 0.92rem; }
.menu, .top-call {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  text-decoration: none;
}
.top.is-open .nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--hero-text); }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; }
.hero-shade { background: linear-gradient(to top, rgba(18, 14, 10, 0.82) 0%, rgba(18, 14, 10, 0.28) 46%, rgba(18, 14, 10, 0.18) 100%); }
.hero-copy { position: relative; z-index: 1; padding: 1.4rem 1.1rem 1.6rem; width: min(1120px, 100%); }
.kicker { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.75rem; margin: 0 0 0.4rem; }
.hero h1 { font-size: clamp(2.6rem, 10vw, 5.4rem); line-height: 0.92; margin: 0; }
.headline { font-size: clamp(1.25rem, 3vw, 1.7rem); margin: 0.7rem 0; max-width: 18ch; }
.price { font-family: var(--serif); font-size: 1.6rem; margin: 0.2rem 0 0.8rem; color: #f0d7b0; }
.stats { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; }
.stats strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 560; }
.stats span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.actions { display: flex; flex-direction: column; gap: 0.55rem; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn.primary { background: var(--cream); color: var(--ink); }
.btn.ghost { border-color: rgba(246, 241, 231, 0.7); color: var(--hero-text); }
.btn.ink { background: var(--ink); color: var(--cream); }
.btn.line { border-color: var(--line); background: transparent; color: var(--ink); }

.section { padding: 3.2rem 0; }
.section h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.8rem; }
.lede { font-size: 1.15rem; max-width: 40rem; }
.story { display: grid; gap: 1rem; }
.story article, .card, .agent-card, form, .map-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.1rem;
}
.story h3 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.filters { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.6rem; }
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  white-space: nowrap;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.grid { display: grid; gap: 0.7rem; }
.shot { margin: 0; position: relative; }
.shot img { width: 100%; display: block; border-radius: 0.9rem; background: #ddd4c6; aspect-ratio: 3/2; object-fit: cover; }
.staged {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.shot figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.note { color: var(--muted); font-size: 0.92rem; }
.map-card iframe { width: 100%; height: 320px; border: 0; border-radius: 0.8rem; }
.agent-layout { display: grid; gap: 1rem; }
.headshot {
  width: 160px;
  height: 200px;
  border: 1px dashed var(--brass);
  border-radius: 1rem;
  display: flex;
  align-items: flex-end;
  padding: 0.7rem;
  color: var(--muted);
  background:
    linear-gradient(160deg, rgba(141, 104, 64, 0.16), transparent 60%),
    var(--paper);
  font-size: 0.85rem;
}
form { display: grid; gap: 0.7rem; }
label { display: grid; gap: 0.25rem; font-size: 0.92rem; font-weight: 600; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: white;
}
textarea { min-height: 120px; }
.check { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; }
.check input { width: auto; min-height: 0; margin-top: 0.3rem; }
.hp { position: absolute; left: -10000px; height: 0; overflow: hidden; }
.form-status { min-height: 1.2em; font-size: 0.92rem; }
.footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); }
.eho { display: flex; gap: 0.8rem; align-items: flex-start; }
.eho svg { width: 52px; height: 52px; flex: none; }
.eho p { margin: 0; font-size: 0.88rem; color: var(--muted); }
dialog { width: min(960px, calc(100% - 1.5rem)); border: 0; padding: 0; background: transparent; }
dialog::backdrop { background: rgba(20, 16, 12, 0.82); }
dialog img { width: 100%; border-radius: 0.8rem; }
dialog .staged { position: static; display: inline-block; margin-bottom: 0.5rem; }
.unverified { border-left: 4px solid var(--brass); }

@media (min-width: 800px) {
  .menu { display: none; }
  .nav { display: flex; position: static; padding: 0; border: 0; background: transparent; }
  .stats { grid-template-columns: repeat(4, max-content); }
  .actions { flex-direction: row; }
  .story { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .agent-layout { grid-template-columns: 180px 1fr; }
  .hero-copy { padding: 4rem 0 3rem; margin-left: max(1rem, calc((100% - 1120px) / 2)); }
  .forms { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}
