:root {
  --green-950: #0a2d21;
  --green-900: #0d3d2b;
  --green-800: #134f38;
  --green-700: #1f6949;
  --cream: #f8f4ea;
  --paper: #fffdf7;
  --gold: #b88a35;
  --gold-light: #d3a934;
  --ink: #142019;
  --muted: #626b65;
  --line: #d9d1c1;
  --shadow: 0 18px 42px rgba(14, 50, 35, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: white;
  background: var(--green-950);
}
.skip-link:focus { top: 1rem; }

.site-header {
  border-top: 7px solid var(--green-900);
  background: rgba(255, 253, 247, .98);
}
.header-inner {
  width: min(1120px, calc(100% - 2rem));
  min-height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  width: fit-content;
}
.brand-name {
  display: block;
  color: var(--green-900);
  font: 700 clamp(1.55rem, 2.6vw, 2.15rem)/1 Georgia, "Times New Roman", serif;
}
.magnolia-logo {
  display: block;
  width: 160px;
  height: auto;
  flex: 0 0 auto;
}
.brand-subtitle {
  display: block;
  margin-top: .45rem;
  color: var(--muted);
  font-size: .86rem;
}
.brand-mark {
  position: relative;
  display: block;
  width: 102px;
  height: 72px;
  flex: 0 0 auto;
}
.magnolia-stem {
  position: absolute;
  left: 15px;
  top: 44px;
  width: 79px;
  height: 28px;
  border-bottom: 3px solid var(--green-900);
  border-radius: 0 0 50% 50%;
  transform: rotate(5deg);
}
.magnolia-leaf {
  position: absolute;
  display: block;
  width: 35px;
  height: 15px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #2d6a42, #123f2d);
}
.magnolia-leaf.l1 { left: 8px; top: 17px; transform: rotate(10deg); }
.magnolia-leaf.l2 { left: 62px; top: 3px; transform: rotate(42deg); }
.magnolia-leaf.l3 {
  left: 72px;
  top: 43px;
  width: 31px;
  background: linear-gradient(135deg, #a17b32, #4d6f3e);
  transform: rotate(-32deg);
}
.magnolia-flower {
  position: absolute;
  left: 29px;
  top: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #d3a934 0, #d3a934 9%, #fffdf4 10%, #fffdf4 42%, #eee7d7 43%, #eee7d7 54%, transparent 55%);
}
nav { display: flex; gap: 1.7rem; }
nav a {
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
}
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible { text-decoration: underline; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .82rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { color: white; background: var(--green-900); }
.button-primary:hover, .button-primary:focus-visible { background: var(--green-700); }
.button-gold { color: #10281f; background: var(--gold); }
.button-gold:hover, .button-gold:focus-visible { background: #d0a44f; }
.button-outline { color: white; border-color: white; background: rgba(0,0,0,.08); }
.button-outline:hover, .button-outline:focus-visible { color: var(--green-950); background: white; }

.hero {
  min-height: 590px;
  display: flex;
  align-items: center;
  color: white;
  background-image: linear-gradient(90deg, rgba(9,38,27,.88), rgba(9,38,27,.42) 58%, rgba(9,38,27,.16)), url("assets/smokey-road-creek-cover.webp");
  background-position: center 58%;
  background-size: cover;
}
.hero-inner, .section-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.hero h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
.hero h1 {
  max-width: 830px;
  margin: .5rem 0 1.2rem;
  font-size: clamp(3.5rem, 8vw, 6.4rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.03em;
}
.hero-copy {
  max-width: 665px;
  margin: 0 0 1.8rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.eyebrow {
  margin: 0 0 .6rem;
  color: var(--gold);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow-light { color: #f1d6a1; }

.properties-section { padding: 6rem 0; background: var(--cream); }
.properties-section h2, .how-section h2, .call-section h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.05;
}
.section-intro {
  max-width: 750px;
  color: var(--muted);
  font-size: 1.1rem;
}
.property-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}
.property-card {
  position: relative;
  min-height: 365px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.property-card h3 {
  margin: 0 0 1rem;
  color: var(--green-900);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.12;
}
.property-title-link { text-decoration: none; }
.property-title-link:hover, .property-title-link:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.property-card p { color: #48524c; }
.property-card-featured {
  grid-column: 1 / -1;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(300px, 42%) 1fr;
  padding: 0;
  overflow: hidden;
}
.estate-card {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
  padding: 0;
  overflow: hidden;
}
.estate-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(370px, 1fr) 150px;
  gap: 4px;
  padding: 4px;
  background: var(--green-950);
}
.estate-gallery-main {
  position: relative;
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
}
.estate-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.estate-gallery-main img { object-position: center 58%; }
.estate-gallery-main figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .35rem .65rem;
  color: white;
  background: rgba(8, 35, 25, .86);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.estate-card-content { min-width: 0; }
.property-cover {
  position: relative;
  min-width: 0;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--green-950);
}
.property-cover img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  display: block;
  object-fit: contain;
}
.property-cover figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .35rem .65rem;
  color: white;
  background: rgba(8, 35, 25, .86);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.property-card-content {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 4vw, 3.2rem);
}
.featured-label {
  margin: 0 0 .55rem;
  color: var(--gold) !important;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.property-facts { margin: 0; border-top: 1px solid var(--line); }
.property-facts div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: .75rem;
  padding: .62rem 0;
  border-bottom: 1px solid var(--line);
}
.property-facts dt { color: var(--muted); font-size: .86rem; font-weight: 700; text-transform: uppercase; }
.property-facts dd { margin: 0; font-weight: 700; }
.card-call {
  margin-top: auto;
  color: var(--green-800);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.status-badge {
  position: absolute;
  right: 1.5rem;
  top: 1.4rem;
  padding: .35rem .65rem;
  color: white;
  background: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sold-card { background: #f2efe7; }
.sold-card h3 { padding-right: 5rem; }
.sold-property-with-map {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  padding: 0;
  overflow: hidden;
}

.sold-property-map {
  width: 100%;
  height: 100%;
  max-height: 600px;
  margin: 0;
  border-right: 1px solid var(--line);
  object-fit: contain;
  background: #e8e5dc;
}

.sold-property-content {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.sold-property-content .sold-label {
  margin-top: auto;
}

.redacted-price {
  display: inline-block;
  min-width: 7rem;
  padding: 0.08rem 0.3rem;
  overflow: hidden;
  color: #050505;
  background: #050505;
  border-radius: 1px;
  line-height: 1.05;
  transform: rotate(-0.5deg);
  user-select: none;
}

@media (max-width: 850px) {
  .sold-property-with-map {
    grid-template-columns: 1fr;
  }

  .sold-property-map {
    height: auto;
    max-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 580px) {
  .sold-property-map {
    max-height: 440px;
  }

  .sold-property-content {
    padding: 1.4rem;
  }
}
.sold-label { margin-top: auto; color: var(--green-800); font-weight: 800; }
.property-note {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  border-left: 5px solid var(--gold);
  color: #39423c;
  background: #fffaf0;
}
.property-note strong { display: block; color: var(--green-900); }

.how-section { padding: 6rem 0; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; gap: .25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.steps strong { color: var(--green-900); font: 700 1.5rem/1.2 Georgia, "Times New Roman", serif; }
.steps span { color: var(--muted); }

.call-section {
  padding: 5.5rem 1rem;
  color: white;
  text-align: center;
  background: var(--green-900);
}
.call-section h2 { color: white; }
.call-section p:not(.eyebrow) { font-size: 1.1rem; }
.phone-link {
  display: inline-block;
  margin-top: .7rem;
  color: #f3d696;
  font: 700 clamp(2rem, 5vw, 3.3rem)/1.1 Georgia, "Times New Roman", serif;
  text-underline-offset: 8px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem max(1rem, calc((100% - 1120px) / 2));
  color: white;
  background: var(--green-950);
}
footer a { color: white; font-weight: 700; }
.footer-main { display: grid; gap: .45rem; flex: 0 0 auto; }
.footer-builder {
  max-width: 540px;
  padding-left: 2.5rem;
  border-left: 1px solid rgba(255, 255, 255, .25);
  text-align: right;
}
.footer-builder p { margin: 0; }
.footer-credit {
  color: #f3d696;
  font: 700 1.15rem/1.3 Georgia, "Times New Roman", serif;
}
.footer-builder p:not(.footer-credit) { margin-top: .35rem; color: rgba(255, 255, 255, .86); }
.footer-builder-button {
  margin-top: .85rem;
  color: var(--green-950);
  background: #f3d696;
}
.footer-builder-button:hover, .footer-builder-button:focus-visible {
  color: var(--green-950);
  background: white;
  text-decoration: none;
}

:focus-visible { outline: 4px solid #e6b944; outline-offset: 4px; }

@media (max-width: 850px) {
  .magnolia-logo { width: 125px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 1rem; padding: .8rem 0; }
  nav { display: none; }
  .brand-mark { width: 82px; transform: scale(.82); transform-origin: left center; margin-right: -12px; }
  .hero { min-height: 540px; }
  .property-grid, .how-grid { grid-template-columns: 1fr; }
  .estate-card { grid-template-columns: 1fr; }
  .estate-gallery { grid-template-rows: minmax(330px, 1fr) 130px; }
  .property-card-featured { grid-template-columns: 1fr; }
  .property-cover { min-height: 560px; }
  .how-grid { gap: 2rem; }
}
@media (max-width: 580px) {
  .magnolia-logo { width: 120px; }
  .header-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .brand-link { justify-self: center; }
  .header-call { width: 100%; }
  .hero-inner { padding: 4rem 0; }
  .hero h1 { font-size: 3.6rem; }
  .hero-actions .button { width: 100%; }
  .properties-section, .how-section { padding: 4rem 0; }
  .property-card { min-height: 0; padding: 1.4rem; }
  .estate-card { padding: 0; }
  .estate-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 280px 125px 125px;
  }
  .estate-gallery-main { grid-column: 1 / -1; }
  .property-card-featured { padding: 0; }
  .property-cover { min-height: 520px; }
  .property-card-content { padding: 1.4rem; }
  .property-facts div { grid-template-columns: 1fr; gap: .1rem; }
  footer { flex-direction: column; text-align: center; }
  .footer-main { justify-items: center; }
  .footer-builder {
    width: 100%;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, .25);
    border-left: 0;
    text-align: center;
  }
}
/* Property record links and individual photo galleries. */
.parcel-button { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .7rem; border: 1px solid currentColor; border-radius: 5px; color: #234e3d; text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; }
.parcel-button:hover, .parcel-button:focus-visible { color: #fff; background: #234e3d; }
.gallery-open { margin: .25rem 0 1rem; border: 1px solid #234e3d; color: #234e3d; background: transparent; cursor: pointer; font: inherit; }
.gallery-cover-button { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery-cover-button img { width: 100%; height: 100%; object-fit: cover; }
.estate-gallery.gallery-cover-only { display: block; }
.gallery-cover-only .estate-gallery-main { height: 100%; }
button:focus-visible, .parcel-button:focus-visible { outline: 3px solid #b67e24; outline-offset: 4px; }
#photo-gallery { width: min(960px, 94vw); max-height: 94dvh; padding: 1rem; border: 0; border-radius: 8px; color: #183d2e; background: #fffdf7; }
#photo-gallery::backdrop { background: rgb(0 0 0 / .8); }
.gallery-heading, .gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.gallery-heading h2 { margin: 0; font-size: 1.5rem; }
#photo-gallery figure { margin: 1rem 0; text-align: center; }
#gallery-photo { display: block; width: 100%; height: min(65dvh, 650px); object-fit: contain; background: #eff1e9; }
#gallery-caption { margin-top: .5rem; }
#photo-gallery button { min-height: 44px; padding: .55rem .8rem; border: 1px solid #234e3d; border-radius: 4px; background: #234e3d; color: white; cursor: pointer; font: inherit; }
.acreage-note { font-size: .9rem; }
