/* The Larkholt Group — demo site styles
   Theme colors live in :root. Swap these variables to retheme the site. */

:root {
  --bg: #F3EEE5;
  --bg-2: #E8E1D4;
  --paper: #FFFCF7;
  --ink: #1C1814;
  --muted: #5A534B;
  --forest: #2A463A;
  --forest-dark: #1A2E26;
  --forest-soft: #3A5C4C;
  --brass: #A67C3D;
  --brass-light: #D4B483;
  --sage: #E4E7D8;
  --line: rgba(28, 24, 20, 0.12);
  --line-strong: rgba(28, 24, 20, 0.22);
  --shadow: 0 18px 44px rgba(28, 24, 20, 0.1);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 4.25rem;
  --max: 1120px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest-dark); }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--forest);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
}
.skip:focus { top: 0.75rem; color: var(--paper); }

.kicker {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.85rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }
.note {
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--sage);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.note a { color: var(--forest-dark); }

/* Demo banner */
.demo-banner {
  margin: 0;
  padding: 0.45rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  background: var(--forest-dark);
  color: #E8E1D4;
  line-height: 1.4;
}
.demo-banner a { color: var(--brass-light); }
.demo-banner a:hover { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 229, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.logo:hover { color: var(--ink); }
.logo-mark { width: 2.15rem; height: 2.15rem; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.logo-text span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}
.menu-btn svg { width: 1.25rem; height: 1.25rem; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.nav { display: none; }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0.7rem 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); }

@media (max-width: 879px) {
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.1rem;
    box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
}
@media (min-width: 880px) {
  .menu-btn { display: none; }
  .nav { display: block; }
  .nav ul { flex-direction: row; gap: 0.2rem 1.35rem; }
  .nav a { padding: 0.4rem 0; }
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 4rem 0; }
.section-tight { padding: 3rem 0; }
.section-forest {
  background: var(--forest);
  color: #EDE6D8;
}
.section-forest h2, .section-forest h3 { color: var(--paper); }
.section-forest .kicker { color: var(--brass-light); }
.section-forest .lede, .section-forest .muted { color: #C9C0B0; }
.section-sage { background: var(--sage); }
.section-head { max-width: 38rem; margin-bottom: 2rem; }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  background: var(--forest);
  color: var(--paper);
  line-height: 1.2;
}
.btn:hover { background: var(--forest-dark); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 248, 238, 0.4);
}
.btn-ghost:hover { background: rgba(255, 248, 238, 0.1); color: var(--paper); }
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--paper); }
.btn-brass {
  background: var(--brass);
  color: #1C1814;
}
.btn-brass:hover { background: #8E6932; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 46rem);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--forest-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,12,0.15) 0%, rgba(20,16,12,0.25) 40%, rgba(20,16,12,0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 5rem 0 0;
}
.hero h1 { color: var(--paper); max-width: 14ch; }
.hero .lede { color: #E8E1D4; }
.hero .kicker { color: var(--brass-light); }
.hero h1, .hero .lede, .hero .kicker {
  text-shadow: 0 1px 18px rgba(20,16,12,0.45), 0 2px 6px rgba(20,16,12,0.35);
}
.hero .kicker { color: #E6C989; }
@media (max-width: 700px) {
  .hero { min-height: auto; align-items: flex-end; }
  .hero-inner { padding-top: 3.25rem; }
  .hero .lede { font-size: 1.02rem; }
  .search-card { top: 1.4rem; margin-top: 1.35rem; }
}


.search-card {
  margin-top: 2rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  position: relative;
  top: 2.25rem;
}
.search-card form,
.search-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 800px) {
  .search-grid {
    grid-template-columns: 1.2fr 1fr 1fr auto;
    align-items: end;
  }
}
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field label,
.form label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select,
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  appearance: none;
}
.field select, .form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235A534B' stroke-width='1.5' d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2rem;
}
.form textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus,
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  background: var(--paper);
}
.search-card .btn { width: 100%; min-height: 2.85rem; }
@media (min-width: 800px) {
  .search-card .btn { width: auto; padding-inline: 1.5rem; }
}

/* Cards */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(28,24,20,0.03);
  display: flex;
  flex-direction: column;
}
.card-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.listing-card { text-decoration: none; color: inherit; height: 100%; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.listing-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
}
.listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--forest-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}
.badge-photo {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(255, 252, 247, 0.94);
}
.price {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0.1rem;
}
.listing-addr { font-weight: 500; }
.listing-meta { font-size: 0.92rem; color: var(--muted); }

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filters .field { flex: 1 1 9rem; }
.filters .btn { flex: 0 0 auto; }
.filter-status { margin: 0 0 1.25rem; font-size: 0.95rem; color: var(--muted); }
.empty-state {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
}
.empty-state.show { display: block; }

/* Feature / process */
.step, .feature {
  padding: 0.25rem 0 0.5rem;
}
.step-num {
  font-family: var(--display);
  font-style: italic;
  color: var(--brass);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

/* Neighborhoods + map */
.place-list { list-style: none; margin: 0; padding: 0; }
.place-list li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}
.place-list li:last-child { border-bottom: 1px solid var(--line); }
.place-list strong { display: block; font-weight: 500; }
.map-placeholder {
  position: relative;
  min-height: 18rem;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, #d9e0d0 0%, transparent 42%),
    radial-gradient(circle at 70% 60%, #d4cbb8 0%, transparent 40%),
    linear-gradient(160deg, #cfd8c8 0%, #e6dfd0 55%, #c5d0c8 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
}
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 252, 247, 0.92);
  font-size: 0.88rem;
  color: var(--muted);
}
.area-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 840px) {
  .area-layout { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

/* Quote */
.quote {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
}
.quote figcaption { color: var(--muted); font-size: 0.92rem; }

/* Page hero (interior pages) */
.page-hero {
  padding: 3.25rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #E8E1D4 0%, var(--bg) 100%);
}
.page-hero h1 { max-width: 16ch; }

/* Listing detail */
.gallery {
  display: grid;
  gap: 0.6rem;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
}
.gallery-main img, .gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.gallery-thumbs figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
}
.detail-grid {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
}
@media (min-width: 880px) {
  .detail-grid { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .gallery-thumbs { grid-template-columns: 1fr 1fr; }
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}
@media (min-width: 520px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}
.stat b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 500; }
.stat span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.facts { list-style: none; margin: 0 0 1rem; padding: 0; }
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.facts li span { color: var(--muted); }

/* Forms */
.form {
  display: grid;
  gap: 0.9rem;
}
.form .btn { justify-self: start; }
.form-msg {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--sage);
  color: var(--forest-dark);
}
.form-msg.show { display: block; }
.contact-grid, .guides-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 840px) {
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .guides-grid { grid-template-columns: 1fr 1fr; }
}

.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; }

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: #D8D0C4;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.site-footer a { color: var(--brass-light); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h2 {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin: 0 0 0.8rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 0.4rem; }
.footer-links a { text-decoration: none; color: #EDE6D8; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-brand {
  font-family: var(--display);
  color: var(--paper);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.footer-base {
  border-top: 1px solid rgba(232, 225, 212, 0.15);
  padding-top: 1.1rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

/* 404 */
.not-found { padding: 5rem 0 6rem; text-align: center; }
.not-found h1 { font-size: clamp(3rem, 8vw, 6rem); margin-bottom: 0.2rem; }

/* Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.listing-wrap { height: 100%; }
.listing-wrap > a { text-decoration: none; color: inherit; display: block; height: 100%; }
.listing-wrap > a:hover { color: inherit; }
.listing-wrap > a:hover .card { transform: translateY(-3px); box-shadow: var(--shadow); }
.card { transition: transform 0.2s ease, box-shadow 0.2s ease; height: 100%; }
