:root {
  --ink: #17201c;
  --muted: #5d6862;
  --pine: #24483b;
  --pine-deep: #17342b;
  --mist: #eef1ec;
  --paper: #f9faf6;
  --white: #ffffff;
  --ember: #db673f;
  --ember-dark: #b84b28;
  --line: rgba(23, 32, 28, 0.14);
  --radius: 18px;
  --pill: 999px;
  --shadow: 0 30px 70px -42px rgba(23, 52, 43, 0.55);
  --display: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.03;
}
p { color: var(--muted); }
a { color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.section { padding: 112px 0; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--pine-deep);
  color: var(--white);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(0.98); }
.button-solid { background: var(--ember); color: #1c1917; }
.button-solid:hover { background: var(--ember-dark); color: var(--white); }
.button-quiet { border-color: rgba(249, 250, 246, 0.45); color: var(--white); }
.button-quiet:hover { background: var(--white); color: var(--pine-deep); }
.button-outline { border-color: var(--pine); color: var(--pine); }
.button-outline:hover { background: var(--pine); color: var(--white); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 0.88rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(249, 250, 246, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav-inner { display: flex; height: 72px; align-items: center; gap: 28px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
}
.brand-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo:empty { display: none; }
.brand-logo img { width: auto; max-width: 42px; max-height: 38px; object-fit: contain; }
.site-nav { flex: 1; min-width: 0; }
.site-nav :is(ul, div) { display: flex; align-items: center; justify-content: center; gap: 26px; }
.site-nav a {
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ember-dark); }
.nav-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.phone-link { font-size: 0.91rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero: aerial parcel map instead of the Selling site's side-view landscape */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 72px);
  background: var(--pine-deep);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(255,255,255,0.08), transparent 38%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  min-height: calc(100dvh - 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding-block: 64px;
}
.hero h1 {
  max-width: 11ch;
  color: var(--white);
  font-size: clamp(2.9rem, 5.8vw, 5.2rem);
  font-weight: 680;
}
.hero-lede {
  max-width: 42ch;
  margin-top: 24px;
  color: #d0d9d4;
  font-size: clamp(1.03rem, 1.4vw, 1.2rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.parcel-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #234739 0%, #1c3b2f 60%, #16302588 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.survey-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 64px);
}
.parcel-outline {
  position: absolute;
  border: 2px dashed rgba(240, 211, 148, 0.65);
  border-radius: 6px;
}
.parcel-outline-a { top: 14%; left: 10%; width: 34%; height: 30%; transform: rotate(-4deg); }
.parcel-outline-b { top: 18%; left: 46%; width: 40%; height: 26%; transform: rotate(3deg); border-color: rgba(240, 211, 148, 0.4); }
.parcel-outline-c { top: 48%; left: 22%; width: 46%; height: 32%; transform: rotate(-2deg); border-style: solid; border-color: #f0d394; }
.pin-marker {
  position: absolute;
  top: 58%;
  left: 40%;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--ember);
  transform: rotate(-45deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.pin-marker span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%) rotate(45deg);
}
.offer-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  background: rgba(23, 52, 43, 0.82);
  color: var(--white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.offer-note-check {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ember);
  font-weight: 800;
}
.offer-note strong { display: block; font-size: 0.95rem; }
.offer-note span { color: #c7d4ce; font-size: 0.82rem; }

.stat-strip { padding: 56px 0; background: var(--mist); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-figure { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--pine-deep); }
.stat-label { color: var(--muted); font-size: 0.92rem; }

.path-section { background: var(--paper); }
.path-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(56px, 9vw, 140px); }
.path-intro h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.path-intro > p { max-width: 46ch; margin-top: 18px; font-size: 1.06rem; }
.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--pine-deep);
  font-weight: 750;
  text-underline-offset: 5px;
}
.path-list { counter-reset: path; }
.path-list li {
  position: relative;
  padding: 2px 0 30px 58px;
  border-bottom: 1px solid var(--line);
  counter-increment: path;
}
.path-list li + li { padding-top: 30px; }
.path-list li::before {
  content: counter(path);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--pine);
  color: var(--white);
  font-weight: 800;
}
.path-list li + li::before { top: 30px; }
.path-list h3 { font-size: 1.35rem; }
.path-list p { max-width: 52ch; margin-top: 8px; }
.path-list-compact li { padding-bottom: 24px; }
.path-list-compact li + li { padding-top: 24px; }

.section-heading { max-width: 650px; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(2.1rem, 3.8vw, 3.6rem); font-weight: 660; }
.section-heading p { max-width: 55ch; margin-top: 18px; font-size: 1.06rem; }

.bento-section { background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 20px; }
.bento-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  grid-column: span 2;
}
.bento-item h3 { font-size: 1.25rem; }
.bento-item p { margin-top: 8px; max-width: 34ch; }
.bento-item-wide { grid-column: span 3; }
.bento-item-narrow { grid-column: span 1; }
.bento-item-dark { border-color: transparent; background: var(--pine-deep); color: var(--white); }
.bento-item-dark h3 { color: var(--white); }
.bento-item-dark p { color: #c8d6cf; }
.bento-item-accent { border-color: transparent; background: #fbe8de; }
.bento-item-accent h3 { color: var(--pine-deep); }

.quote-section { padding: 96px 0; color: var(--white); background: var(--pine); }
.quote-section blockquote { max-width: 780px; margin: 0 auto; text-align: center; }
.quote-section p {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.quote-section cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-weight: 750;
}
.quote-section cite span { display: block; margin-top: 2px; color: #b8c8c0; font-weight: 500; }

.faq-section { background: var(--paper); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--pine-deep);
  border-bottom: 2px solid var(--pine-deep);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-item p { margin-top: 14px; max-width: 62ch; }

.cta-banner { padding: 84px 0; background: var(--ember); }
.cta-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 64px; }
.cta-grid h2 { color: #1c1917; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.cta-grid p { margin-top: 10px; color: #4b2a1d; }
.offer-form :is(form, .id-preview-form) { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer-form :is(input, select, textarea) {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(28,25,23,0.4);
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  color: #1c1917;
}
.offer-form textarea { min-height: 96px; resize: vertical; }
.offer-form :is(input, textarea)::placeholder { color: #5f4a40; opacity: 1; }
.offer-form label { grid-column: 1 / -1; margin-bottom: -4px; font-size: 0.86rem; font-weight: 700; color: #4b2a1d; }
.offer-form button {
  grid-column: 1 / -1;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--pill);
  background: var(--pine-deep);
  color: var(--white);
  font-weight: 750;
  cursor: pointer;
}
.offer-form button:hover { background: #0f251e; }
.form-card .offer-form { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-card .offer-form :is(input, select, textarea) { background: var(--paper); border-color: #c7d0cb; color: var(--ink); }
.form-card .offer-form :is(input, textarea)::placeholder { color: #7a847e; }
.form-card .offer-form label { color: var(--ink); }
.form-card .offer-form button { background: var(--ember); color: #1c1917; }
.form-card .offer-form button:hover { background: var(--ember-dark); color: var(--white); }

/* Interior pages: sell-your-land, contact-us */
.page-banner {
  padding: 140px 0 72px;
  background: var(--pine-deep);
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.page-banner-plain { padding: 96px 0 56px; }
.page-banner-eyebrow { margin-bottom: 14px; color: #b8c8c0; font-size: 0.85rem; font-weight: 700; }
.page-banner h1 { max-width: 16ch; color: var(--white); font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
.page-copy { max-width: 56ch; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.page-copy p + p { margin-top: 14px; }

.sell-grid, .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 8vw, 100px); align-items: start; }
.sell-intro h2 { margin-bottom: 18px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.sell-intro .path-list { margin-top: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; }
.contact-details span { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-details a, .contact-details address { font-family: var(--display); font-size: 1.15rem; font-weight: 650; }

.site-footer { padding-top: 72px; color: var(--white); background: #10251e; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr; gap: 56px; padding-bottom: 56px; }
.site-footer .brand-word { color: var(--white); }
.footer-identity > p { max-width: 34ch; margin-top: 18px; color: #aebdb5; }
.footer-links h2, .footer-contact h2 {
  margin-bottom: 18px;
  color: #8fa299;
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-links :is(ul, div),
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links a, .footer-contact a { color: #d7e0dc; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #f0d394; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
}
.footer-bottom p, .disclosure { color: #84988e; }
.disclosure { max-width: 60ch; text-align: right; }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .phone-link { display: none; }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { justify-content: space-between; }
  .site-nav.is-open {
    position: absolute;
    top: 72px;
    left: 0;
    display: block;
    width: 100%;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }
  .site-nav.is-open :is(ul, div) { flex-direction: column; align-items: flex-start; gap: 18px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-item, .bento-item-wide { grid-column: span 1; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 54px 86px; }
  .hero h1 { max-width: 13ch; }
  .parcel-visual { min-height: 420px; }
  .path-grid, .sell-grid, .contact-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .section { padding: 76px 0; }
  .nav-actions { display: none; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; gap: 40px; padding-block: 46px 72px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .parcel-visual { min-height: 340px; }
  .offer-note { flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .path-list li { padding-left: 50px; }
  .path-list li::before { width: 34px; height: 34px; }
  .bento { grid-template-columns: 1fr; }
  .offer-form :is(form, .id-preview-form) { grid-template-columns: 1fr; }
  .form-card .offer-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .disclosure { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .offer-note { background: var(--pine-deep); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
