/* Uplift Land Company — site styles */
:root {
  --teal: #00516b;        /* logo wordmark */
  --teal-deep: #06313f;   /* header, dark bands */
  --teal-ink: #0c2830;    /* body text */
  --green: #00d884;       /* logo gradient, darkened slightly for UI */
  --blue: #00a1ff;
  --amber: #e8912d;       /* calls to action */
  --amber-dark: #c9741a;
  --paper: #f8f7f2;
  --sand: #efe9dc;
  --line: #ddd6c6;
  --muted: #5b6a6e;
  --radius: 10px;
  --wrap: 1180px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--teal-ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--amber-dark); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--amber); color: #1c1203; font: 650 1rem/1 var(--sans);
  text-decoration: none; transition: background .15s, transform .15s;
}
.btn:hover { background: #f3a247; color: #1c1203; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px;
}
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--teal-deep); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: #e3eef0; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .phone { font-weight: 650; color: #fff; white-space: nowrap; }
.nav .btn { padding: .7em 1.15em; font-size: .92rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--teal-deep); padding: 8px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav .btn { margin-top: 14px; border: 0; padding: .95em; }
}

/* Photo layers */
.photo-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.photo-bg img { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero .photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,31,40,.78) 0%, rgba(6,31,40,.45) 50%, rgba(6,31,40,.08) 100%),
              linear-gradient(0deg, rgba(6,31,40,.5), transparent 35%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: 92px 0 72px;
}
.hero h1 { max-width: 12em; }
.hero h1 em { font-style: italic; color: #ffd9a3; }
.hero .lede { color: #d9e6e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.hero-actions .call { color: #fff; font-weight: 600; text-decoration: none; }
.hero-actions .call span { color: #bcd2d6; font-weight: 400; }

.quick-form {
  background: rgba(255,255,255,.97); color: var(--teal-ink);
  border-radius: 14px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.quick-form h2 { font-size: 1.6rem; margin-bottom: .25em; }
.quick-form p.small { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

.facts {
  position: relative; z-index: 1;
  background: rgba(6,31,40,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.facts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 20px 20px 20px 0; font-size: .95rem; color: #d7e4e6; }
.facts li + li { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.14); }
.facts strong { display: block; color: #fff; font-size: 1.05rem; font-weight: 650; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 44px; }
  .hero .photo-bg::after { background: linear-gradient(180deg, rgba(6,31,40,.78), rgba(6,31,40,.7)); }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li, .facts li + li { padding: 14px 12px; border-left: 0; }
  .facts li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

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

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-photo { position: relative; }
.split-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split-photo .tag {
  position: absolute; left: -18px; bottom: 28px; max-width: 250px;
  background: var(--teal-deep); color: #fff; padding: 16px 18px; border-radius: 8px;
  font-size: .92rem; line-height: 1.45; box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.split-photo .tag strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: #ffd9a3; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .split-photo img { aspect-ratio: 4 / 3; }
  .split-photo .tag { left: 12px; bottom: 12px; }
}

.reasons { list-style: none; padding: 0; margin: 24px 0 28px; }
.reasons li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.reasons li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg);
}

/* Land types mosaic */
.land { background: var(--sand); }
.land-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.land-head p { max-width: 30em; color: var(--muted); margin: 0; }
.mosaic {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr); grid-template-rows: 250px 250px;
  grid-template-areas: "a a b c" "a a d e";
}
.mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: 8px; }
.mosaic figure:nth-child(1) { grid-area: a; }
.mosaic figure:nth-child(2) { grid-area: b; }
.mosaic figure:nth-child(3) { grid-area: c; }
.mosaic figure:nth-child(4) { grid-area: d; }
.mosaic figure:nth-child(5) { grid-area: e; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(0deg, rgba(4,24,31,.85), transparent);
  color: #fff; font-weight: 650;
}
.mosaic figcaption span { display: block; font-weight: 400; font-size: .88rem; color: #d3e1e3; }
.mosaic figure:nth-child(1) figcaption { font-size: 1.3rem; padding: 60px 22px 20px; }
.land-note { margin: 24px 0 0; color: var(--muted); }
@media (max-width: 860px) {
  .land-head { display: block; }
  .land-head p { margin-top: 8px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 190px 190px; grid-template-areas: "a a" "b c" "d e"; }
}

/* Steps over photo */
.steps { position: relative; isolation: isolate; color: #fff; }
.steps .photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,26,33,.82), rgba(5,26,33,.62)); }
.steps h2 { max-width: 16em; }
.steps .lede { color: #c9dadd; }
.step-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.step-list li { counter-increment: step; border-top: 2px solid rgba(255,255,255,.25); padding-top: 22px; }
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif); font-size: 3.2rem; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(90deg, #3dffb0, #3ab8ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-list h3 { font-size: 1.3rem; margin-bottom: .4em; }
.step-list p { color: #cfdfe2; margin: 0; }
@media (max-width: 860px) { .step-list { grid-template-columns: 1fr; gap: 28px; } }

/* About */
.quote { font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.3; margin: 0 0 24px; color: var(--teal); }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; list-style: none; padding: 0; margin: 24px 0; }
.promises li { padding-left: 18px; position: relative; font-weight: 550; }
.promises li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(90deg, var(--green), var(--blue)); }
.signature { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
.signature strong { font-size: 1.1rem; }
.signature span { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq-grid > div:first-child p { color: var(--muted); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 620; font-size: 1.05rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 8px; top: 27px; width: 10px; height: 10px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); top: 31px; }
details p { margin: -4px 0 20px; color: #3d4d51; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Blog teaser + index */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { text-decoration: none; color: inherit; display: block; }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.post-card time { font-size: .85rem; color: var(--muted); }
.post-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin: 4px 0 6px; }
.post-card p { color: var(--muted); font-size: .96rem; }
.post-card:hover h3 { color: var(--amber-dark); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 32px; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* Closing CTA */
.cta { position: relative; isolation: isolate; color: #fff; text-align: center; padding: 120px 0; }
.cta .photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,26,33,.82), rgba(5,26,33,.5)); }
.cta h2 { max-width: 15em; margin-inline: auto; }
.cta p { color: #dbe7e9; max-width: 34em; margin: 0 auto 28px; }
.cta .hero-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--teal-deep); color: #b9cdd1; padding: 56px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffd9a3; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Page banner (offer, blog, privacy) */
.banner { position: relative; isolation: isolate; color: #fff; padding: 72px 0 64px; }
.banner .photo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,26,33,.86), rgba(5,26,33,.45)); }
.banner h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 14em; }
.banner p { color: #d4e2e5; max-width: 36em; margin: 0; font-size: 1.1rem; }
.banner .photo-bg img { object-position: center 70%; }
.banner.plain { background: var(--teal-deep); padding: 56px 0 48px; }

/* Forms */
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.req { color: #b3471d; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--teal-ink);
  background: #fff; border: 1px solid #c9c2b1; border-radius: 8px; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(0,161,255,.2); }
.invalid input, .invalid select, .invalid textarea { border-color: #b3471d; background: #fff8f5; }
.field .err { display: none; color: #b3471d; font-size: .85rem; margin-top: 5px; }
.invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }
@media (max-width: 620px) { .row2, .row3 { grid-template-columns: 1fr; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500;
  padding: 9px 14px; border: 1px solid #c9c2b1; border-radius: 999px; background: #fff; cursor: pointer;
}
.choices input { accent-color: var(--teal); margin: 0; }
.choices label:has(input:checked) { border-color: var(--teal); background: #e7f3f5; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: #3d4d51; line-height: 1.5; font-weight: 400 !important; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; background: #fff1eb; border: 1px solid #efb89f; color: #7a2d0e; padding: 12px 14px; border-radius: 8px; margin: 0 0 16px; font-size: .95rem; }
.form-error.show { display: block; }

.offer-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; padding: 56px 0 96px; }
.offer-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.form-section + .form-section { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 28px; }
.form-section h2 { font-size: 1.7rem; margin-bottom: .2em; }
.form-section > p { color: var(--muted); margin-bottom: 20px; }
.offer-aside { position: sticky; top: 96px; }
.aside-card { background: var(--teal-deep); color: #d2e1e4; border-radius: 14px; padding: 28px; }
.aside-card h2 { color: #fff; font-size: 1.5rem; }
.aside-card ol { padding-left: 1.2em; margin: 0 0 20px; }
.aside-card li { margin-bottom: 10px; }
.aside-card a { color: #ffd9a3; font-weight: 650; text-decoration: none; }
.aside-card .muted { font-size: .88rem; }
@media (max-width: 960px) {
  .offer-layout { grid-template-columns: 1fr; padding-top: 32px; }
  .offer-aside { position: static; }
  .offer-form { padding: 22px 18px; }
}
.thanks { display: none; text-align: center; padding: 20px 0; }
.thanks.show { display: block; }
.thanks svg { width: 64px; height: 64px; margin: 0 auto 12px; }
.thanks h2 { font-size: 2rem; }

/* Article + legal prose */
.prose { max-width: 720px; margin-inline: auto; padding: 56px 0 88px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img.lead-img { border-radius: 10px; margin-bottom: 32px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.prose .meta { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.post-cta { background: var(--sand); border-radius: 12px; padding: 28px; margin-top: 48px; }
.post-cta h2 { margin-top: 0; font-size: 1.6rem; }
