/* Kaul Group — shared design system for new pages.
 * Existing pages (index.html, avondale.html, the-cotswold-barn.html) keep their
 * inline CSS for now; new pages reference this file. */

:root {
  --cream: #FBF7F0;
  --cream-warm: #F4EEE2;
  --stone: #E5DED2;
  --stone-soft: #EFE9DD;
  --ink: #1B1A18;
  --ink-soft: #5C544A;
  --ink-faint: #6D6457;
  --terracotta: #9D4A2D;
  --terracotta-deep: #8E3F26;
  --forest: #2F4438;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); line-height: 1.1; }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; }
::selection { background: var(--terracotta); color: var(--cream); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Preview banner */
.preview-banner { background: var(--ink); color: var(--cream); padding: 10px 20px; text-align: center; font-size: 12px; letter-spacing: 0.06em; }
.preview-banner a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }

/* Site nav */
header.site-nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 240, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--stone); }
.nav-row { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: 'Fraunces', serif; font-size: 22px; }
.brand .brand-mid { color: var(--terracotta); }
.brand .brand-light { font-weight: 300; }
.brand .brand-strong { font-weight: 500; }
.nav-links { display: none; gap: 32px; font-size: 14px; }
.nav-links a { color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
@media (min-width: 768px) { .nav-links { display: flex; } }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; font-size: 14px; border-radius: var(--r-sm); border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: all 0.2s; }
.btn:hover { background: var(--ink); color: var(--cream); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta); border-color: var(--terracotta); }

/* Eyebrow */
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--terracotta); display: inline-block; margin-bottom: 18px; font-weight: 500; }

/* Page hero */
.page-hero { padding: 96px 0 64px; }
@media (min-width: 768px) { .page-hero { padding: 128px 0 80px; } }
.page-hero h1 { max-width: 880px; }
.page-hero .lede { margin-top: 24px; max-width: 640px; font-size: 19px; color: var(--ink-soft); line-height: 1.55; }

/* Property cards */
.property-card { display: block; cursor: pointer; }
.property-card .card-image-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-md); background: var(--stone); }
.property-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.property-card:hover img { transform: scale(1.04); }
.region-pill { position: absolute; top: 16px; left: 16px; padding: 5px 11px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(251, 247, 240, 0.94); color: var(--ink); border-radius: var(--r-sm); }
.property-card h3 { margin-top: 20px; font-size: 24px; }
.property-card .card-tag { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.property-meta { margin-top: 12px; display: flex; gap: 12px; font-size: 12px; color: var(--ink-faint); }
.property-meta .dot { color: var(--ink-faint); opacity: 0.5; }

/* Card grids */
.grid-2 { display: grid; gap: 40px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--stone); }
.section h2 { margin-bottom: 24px; }

/* Editorial / blog prose */
.prose { max-width: 65ch; font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose p { margin: 0 0 1.25em; }
.prose h2 { margin: 2em 0 0.75em; font-size: 1.875rem; }
.prose h3 { margin: 1.75em 0 0.5em; font-size: 1.375rem; }
.prose ul { margin: 0 0 1.25em; padding-left: 1.25em; }
.prose ul li { margin-bottom: 0.5em; }
.prose blockquote { border-left: 2px solid var(--terracotta); margin: 1.5em 0; padding: 0.25em 0 0.25em 1.25em; font-family: 'Fraunces', serif; font-size: 1.25rem; line-height: 1.45; color: var(--ink-soft); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--ink-faint); padding-bottom: 1px; transition: border-color 0.2s; }
.prose a:hover { border-color: var(--terracotta); }
.prose .drop-cap::first-letter { font-family: 'Fraunces', serif; font-size: 3.5em; float: left; line-height: 0.85; margin-right: 0.08em; margin-top: 0.05em; color: var(--terracotta); }

/* Tables */
.proximity-table-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
.proximity-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.proximity-table th { text-align: left; padding: 12px 16px 12px 0; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 400; border-bottom: 1px solid var(--stone); }
.proximity-table th.right { text-align: right; }
.proximity-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(229, 222, 210, 0.6); }
.proximity-table td.name { font-weight: 500; }
.proximity-table td.kind { color: var(--ink-soft); }
.proximity-table td.right { text-align: right; font-variant-numeric: tabular-nums; }
.proximity-table td.note { color: var(--ink-soft); }

/* Blog cards */
.article-card { display: block; padding: 28px; background: var(--cream-warm); border: 1px solid var(--stone); border-radius: var(--r-md); transition: border-color 0.2s; }
.article-card:hover { border-color: var(--ink); }
.article-card .meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.article-card h3 { font-family: 'Fraunces', serif; font-size: 22px; line-height: 1.25; margin: 0; }
.article-card p { margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* Long-tail intent block (used on regional pages) */
.intent-block { background: var(--cream-warm); border: 1px solid var(--stone); border-radius: var(--r-md); padding: 28px; }
.intent-block h3 { font-family: 'Fraunces', serif; font-size: 18px; margin: 0 0 12px; font-weight: 500; }
.intent-block p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.intent-block a { color: var(--ink); border-bottom: 1px solid var(--ink-faint); }

/* CTA card (used on collection / region pages) */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 32px 0; }

/* Footer */
footer.site-footer { margin-top: 96px; border-top: 1px solid var(--stone); background: var(--cream-warm); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-blurb { font-family: 'Fraunces', serif; font-size: clamp(1.5rem, 2.5vw, 1.875rem); line-height: 1.18; max-width: 560px; }
.footer-note { margin-top: 24px; font-size: 14px; color: var(--ink-soft); }
.footer-col h4 { font-family: 'Fraunces', serif; font-size: 16px; margin-bottom: 16px; font-weight: 400; }
.footer-col ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--ink-soft); }
.footer-col li { margin-bottom: 8px; }
.footer-bottom { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--stone); display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); flex-wrap: wrap; gap: 16px; }
