/* legacyacres.com. Look carried over from the WordPress theme: Rubik, blue, charcoal, tan buttons. */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/rubik-latin.woff2) format("woff2");
}

:root {
  --ink: #242424;
  --body: #444;
  --blue: #147dc8;
  --blue-dark: #0f63a0;
  --tan: #c9a578;
  --green: #569863;
  --line: #e4e4e4;
  --tint: #f3f4f6;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--body); font: 17px/1.6 "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 500; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.15rem; }
h5 { font-size: 1.05rem; color: var(--ink); margin: 1.6em 0 .4em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 0; }
.wrap { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(800px, 100% - 2rem); }
.center { text-align: center; }
.section { padding: clamp(2.2rem, 6vw, 4rem) 0; }
.tint { background: var(--tint); }
.sub { color: #888; margin-top: -.6em; }

.btn { display: inline-block; background: var(--blue); color: #fff; font: 500 1rem/1.2 inherit; font-family: inherit; padding: .8em 1.4em; border: 0; border-radius: 4px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn-tan { background: var(--tan); color: #2b2114; font-weight: 700; }
.btn-tan:hover { background: #b99262; color: #2b2114; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-row { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; }
.logo img { width: 150px; }
.nav { display: none; margin-left: auto; gap: 1.5rem; }
.nav a, .nav-small a { color: var(--ink); text-decoration: none; font-size: .98rem; }
.nav a:hover, .nav-small a:hover { color: var(--blue); }
.btn-call { margin-left: auto; white-space: nowrap; font-size: .92rem; padding: .7em 1em; }
.nav-small { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; padding: .5rem 1rem .7rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .logo img { width: 190px; }
  .nav { display: flex; }
  .btn-call { margin-left: 0; }
  .nav-small { display: none; }
}

/* Home hero with the signup card */
.hero { background: #2f3a2c url(/img/hero.jpg) center/cover no-repeat; padding: clamp(2rem, 6vw, 4rem) 0; }
.hero h1 { color: #fff; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.hero-card { background: #fff; border-radius: 4px; padding: clamp(1.1rem, 3vw, 1.8rem); max-width: 900px; margin: 0 auto; }
.hero-card h2 { text-align: center; font-size: 1.25rem; }

/* Forms */
.field { margin-bottom: 1rem; flex: 1 1 220px; }
.field-row { display: flex; flex-wrap: wrap; gap: 0 1rem; }
label { display: block; font-weight: 500; color: var(--ink); margin-bottom: .3rem; font-size: .95rem; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #f1f1f1; border: 2px solid #f1f1f1; border-radius: 4px; padding: .65em .8em; min-height: 48px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); background: #fff; outline: none; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #b3261e; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin: .3rem 0 .8rem; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: .15rem; }
.consent label { font-weight: 400; font-size: .85rem; color: #555; margin: 0; }
.consent.bad label { color: #b3261e; }
.fine { font-size: .85rem; color: #555; }
.form-error { background: #fdecea; border: 1px solid #f1b5ae; color: #7a1a12; border-radius: 4px; padding: .7em 1em; }
.form-done { background: #eef7f0; border: 1px solid #b9dcc0; border-radius: 4px; padding: 1em 1.2em; font-weight: 500; color: #1f5a2c; }
.form-done p { margin: 0; }
.trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Listing cards */
.cards { display: grid; gap: 1.4rem; margin: 1.5rem 0 2rem; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card, .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.card-photo, .feature-photo { position: relative; display: block; background: var(--tint); }
.card-photo img, .no-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body h3 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .01em; }
.card-body h3 a, .feature-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover, .feature-body h3 a:hover { color: var(--blue); }
.card-meta { color: #777; font-size: .92rem; }
.status { display: inline-block; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35em .7em; border-radius: 3px; }
.card-photo .status, .feature-photo .status { position: absolute; left: .7rem; bottom: .7rem; }
.status-for-sale { background: var(--green); }
.status-under-contract { background: #c98a14; }
.feature { display: grid; margin: 1.5rem 0; }
.feature-photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.feature-body { padding: 1.4rem 1.5rem; align-self: center; }
.feature-body h3 { font-size: 1.5rem; }
@media (min-width: 800px) { .feature { grid-template-columns: 1.1fr 1fr; } }
.prices { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: .6rem; }
.price-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #888; margin: 0; }
.price { font-size: 1.35rem; font-weight: 700; color: var(--green); margin: 0; }
.price-note { font-size: .85rem; color: #666; margin: 0; }
.sold-heading { margin-top: 2.5rem; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.3rem; text-align: center; }
.steps p { color: #777; font-size: .95rem; margin: 0; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 1.3rem; }

/* Story, plain pages */
.story { display: grid; gap: 2rem; align-items: start; }
.story img, .story-photo { border-radius: var(--radius); }
.story-photo { margin-top: 1.5rem; max-width: 420px; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 420px; gap: 3rem; } }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: .35em; }
.legal { font-size: .98rem; overflow-wrap: anywhere; }

/* Listing page */
.gallery { margin-bottom: 2rem; }
.gallery-main img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; margin-top: .5rem; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.listing-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .listing-grid { grid-template-columns: 1fr 320px; gap: 3rem; } }
.listing-side { background: var(--tint); border-radius: var(--radius); padding: 1.4rem; align-self: start; position: sticky; top: 1rem; }
.listing-side .prices { margin: 0 0 1rem; }
.sold-note { font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 1.2rem; }
@media (min-width: 600px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.facts div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .55rem 0; }
.facts dt { color: #777; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }

/* Full-screen photo viewer */
.viewer { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); display: grid; place-items: center; z-index: 50; padding: 1rem; }
.viewer img { max-width: 100%; max-height: 92vh; }
.viewer button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; font-size: 1.8rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.viewer .close { top: 1rem; right: 1rem; }
.viewer .prev { left: 1rem; top: 50%; }
.viewer .next { right: 1rem; top: 50%; }

/* Footer */
.site-footer { background: var(--ink); color: #ddd; padding: 2.2rem 0 1.4rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-row { display: grid; gap: 1.2rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-footer p { margin: 0 0 .3em; }
.social a { margin-right: 1rem; }
.copyright { text-align: center; margin-top: 1.6rem !important; font-size: .85rem; font-weight: 500; color: #fff; }
@media (min-width: 800px) { .footer-row { grid-template-columns: 1fr auto auto; gap: 3rem; } }
