/* 3210 W Dry Creek Road — site styles
   Matches the approved landing page: Cormorant Garamond display, Work Sans body,
   forest-green accent on white. */

:root {
  --accent: #2F4A3A;
  --accent-dark: #1B2C22;
  --ink: #1E2621;
  --ink-2: #3D4740;
  --ink-3: #57605A;
  --rule: #E3E1DA;
  --rule-2: #D6D3CA;
  --panel: #F3F4F1;
  --sale: #8A3B12;
  --dark-ink: #D0D6D1;
  --dark-label: #B9CBBD;
  --dark-rule: #4A5A4F;
  --placeholder: #DCE3DA;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Work Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #FFFFFF;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; background: var(--placeholder); }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; flex-wrap: wrap; gap: 12px 32px;
  align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  text-decoration: none; color: var(--ink);
}
.brand:hover { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; padding: 10px 0; display: inline-block; }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

/* Type */
.eyebrow {
  margin: 0 0 12px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
h1, h2, .display { font-family: var(--serif); font-weight: 600; }
h1 { margin: 0; font-size: 56px; line-height: 1.08; }
h2 { margin: 0 0 12px; font-size: 40px; line-height: 1.15; }
h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.lede { margin: 20px 0 0; max-width: 620px; font-size: 19px; color: var(--ink-2); }
.intro { margin: 0 0 40px; max-width: 680px; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 15px; }
p { margin: 0 0 16px; }
.prose { max-width: 680px; color: var(--ink-2); }

@media (max-width: 720px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .lede { font-size: 18px; }
}

/* Sections */
.section { padding-top: 96px; }
.section-tight { padding-top: 56px; }
@media (max-width: 720px) { .section { padding-top: 64px; } }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 40px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.price-card { flex: 1 1 280px; min-width: 0; border: 1px solid var(--rule-2); border-radius: 4px; padding: 24px 28px; }
.price-card .status {
  display: inline-block; margin: 0 0 14px; padding: 4px 10px; border-radius: 3px;
  background: var(--panel); border: 1px solid var(--rule-2);
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.price-card .flag { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sale); }
.price-card .price { margin: 4px 0 0; font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1.1; }
.price-card .was { margin: 4px 0 0; font-size: 15px; color: var(--ink-3); }
.price-card .was s { text-decoration: line-through; }

.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  background: var(--accent); color: #FFFFFF; text-decoration: none;
  font-weight: 600; font-size: 15px; border-radius: 3px; margin-top: 20px;
}
.btn:hover { background: var(--accent-dark); color: #FFFFFF; }

.hero-photo { width: 100%; height: 560px; object-fit: cover; border-radius: 4px; }
@media (max-width: 720px) { .hero-photo { height: 320px; } }

/* Fact cards */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 24px; }
.fact { border-top: 3px solid var(--accent); padding-top: 20px; }
.fact p { margin: 0; font-size: 16px; color: var(--ink-2); }
.fact a { font-size: 15px; font-weight: 500; display: inline-block; margin-top: 8px; padding: 4px 0; }
.note { margin: 32px 0 0; padding: 16px 20px; background: var(--panel); border-radius: 4px; font-size: 15px; color: var(--ink-2); }

/* Split (text + media) */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > .split-text { flex: 1 1 300px; min-width: 0; }
.split > .split-media { flex: 999 1 560px; min-width: 0; }
.video { width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; background: var(--ink); object-fit: cover; }
iframe.video { border: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.stat { background: var(--panel); border-radius: 4px; padding: 24px; }
.stat .num { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.1; }
.stat .lbl { margin: 6px 0 0; font-size: 16px; color: var(--ink-2); }

/* Figures */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
figure { margin: 0; }
figure img { width: 100%; border-radius: 4px; }
figcaption { margin-top: 8px; font-size: 15px; color: var(--ink-3); }
.fig-cover img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Document lists */
.doclist { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; border-top: 1px solid var(--rule); margin: 0; padding: 0; list-style: none; }
.doclist li { border-bottom: 1px solid var(--rule); }
.doclist a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 8px 0; text-decoration: none; font-weight: 500;
}
.doclist .kind { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-3); white-space: nowrap; }

/* Due diligence page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--rule-2); border-radius: 3px; text-decoration: none; font-size: 15px; font-weight: 500;
}
.jump a:hover { border-color: var(--accent); }
.dd-section { padding-top: 80px; scroll-margin-top: 16px; }
.dd-section + .dd-section { border-top: 1px solid var(--rule); margin-top: 80px; padding-top: 64px; }
.dd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .dd-grid { grid-template-columns: minmax(0, 1fr); } }
.keyfacts { margin: 0 0 24px; padding: 0; list-style: none; }
.keyfacts li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.keyfacts li span:first-child { flex: 0 0 140px; color: var(--ink-3); }
.keyfacts li span:last-child { color: var(--ink); font-weight: 500; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery button {
  all: unset; display: block; cursor: zoom-in; width: 100%; border-radius: 4px; overflow: hidden;
}
.gallery button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .cap { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-3); }

.lightbox {
  border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  background: rgba(20, 26, 22, 0.96); color: #fff;
}
.lightbox::backdrop { background: rgba(20, 26, 22, 0.96); }
.lightbox .lb-inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px 24px; gap: 12px; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; max-width: 100%; object-fit: contain; background: transparent; }
.lightbox p { margin: 0; color: var(--dark-ink); text-align: center; max-width: 720px; font-size: 16px; }
.lb-btn {
  position: absolute; min-width: 48px; min-height: 48px; border: 1px solid var(--dark-rule); border-radius: 3px;
  background: rgba(30, 38, 33, 0.8); color: #fff; font: 600 15px var(--sans); cursor: pointer; padding: 0 14px;
}
.lb-btn:hover { border-color: #fff; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Contact block (dark) */
.contact-band { background: var(--ink); color: #FFFFFF; margin-top: 96px; }
.contact-band .wrap { padding-top: 72px; padding-bottom: 72px; }
.contact-band .eyebrow { color: var(--dark-label); }
.contact-band .sub { margin: 0 0 40px; color: var(--dark-ink); }
.agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.agent { border: 1px solid var(--dark-rule); border-radius: 4px; padding: 24px; }
.agent .name { margin: 0; font-size: 20px; font-weight: 600; }
.agent .role { margin: 4px 0 16px; font-size: 15px; color: var(--dark-ink); }
.agent a { display: block; color: #FFFFFF; padding: 8px 0; word-break: break-word; }
.agent a:hover { color: var(--dark-label); }

/* Footer */
.site-footer .wrap { padding-top: 32px; padding-bottom: 48px; font-size: 14px; color: var(--ink-3); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 16px; font-weight: 500; }
.site-footer nav a { text-decoration: none; padding: 8px 0; }
.site-footer p { margin: 0 0 8px; }
