/* ==========================================================================
   Landmark Property Buyers — design tokens
   Concept: the deed / survey plat. Ink on parchment, brass instruments,
   a wax-stamp red used once, corner benchmark ticks as the structural motif.
   ========================================================================== */

:root {
  /* color */
  --ink:        #16232F;   /* deep survey-ink navy */
  --ink-soft:   #223447;
  --parchment:  #F3ECDC;   /* aged paper */
  --paper:      #FBF8F1;   /* lighter paper */
  --brass:      #A9803D;
  --brass-dim:  #C7AD7C;
  --clay:       #B14328;   /* stamp red — used sparingly */
  --clay-dark:  #8F3420;
  --slate:      #5B6670;   /* body copy on paper */
  --mist:       #C9D3D8;   /* body copy on ink */
  --hairline:   rgba(22, 35, 47, 0.14);
  --hairline-dark: rgba(243, 236, 220, 0.18);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "IBM Plex Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  --step: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);

  --radius: 3px;
  --wrap: 1180px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 28px;
}
.wrap-narrow { max-width: 780px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

/* ==========================================================================
   Eyebrow / mono labels — the "field notes" voice used throughout
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.9em;
  display: inline-block;
}
.eyebrow::before { content: "\2014\A0 "; }
.eyebrow-center { display: block; text-align: center; }
.eyebrow-light { color: var(--brass-dim); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 0.95em 1.5em;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--clay);
  color: var(--paper);
}
.btn-primary:hover { background: var(--clay-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-small { padding: 0.65em 1.15em; font-size: 0.88rem; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.logo-mark { color: var(--clay); display: flex; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.1;
}
.logo-text em {
  font-style: normal;
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
}
.site-nav a:hover { color: var(--clay); }

@media (max-width: 760px) {
  .site-nav { display: none; }
}

/* ==========================================================================
   Corner benchmark ticks — the signature structural device.
   Applied to sections to read like survey monuments marking a boundary.
   ========================================================================== */

.section, .hero, .stats-bar, .cta-section {
  position: relative;
}

.section::before, .section::after,
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.55;
}
.section::before, .hero::before {
  top: 22px; left: 22px;
  border-top: 1.5px solid var(--brass);
  border-left: 1.5px solid var(--brass);
}
.section::after, .hero::after {
  bottom: 22px; right: 22px;
  border-bottom: 1.5px solid var(--brass);
  border-right: 1.5px solid var(--brass);
}
.section-alt::before, .section-alt::after { opacity: 0.4; }

@media (max-width: 640px) {
  .section::before, .section::after,
  .hero::before, .hero::after { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: 84px 96px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(169,128,61,0.10), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 1.9rem + 2.6vw, 3.85rem);
  color: var(--ink);
  max-width: 12ch;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 46ch;
  margin-bottom: 2em;
}

/* offer form */

.offer-form { max-width: 560px; }

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field-pair {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.field-pair input {
  flex: 1 1 220px;
}
.field-stack input,
.field-pair input {
  width: 100%;
  height: 46px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.2;
  padding-block: 0;
  padding-inline: 1em;
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: var(--radius);
}
.field-stack > input {
  flex: 0 0 auto;
}
.field-pair input { width: auto; }
.field-stack input:focus,
.field-pair input:focus { border-color: var(--brass); }
.field-stack .btn { align-self: flex-start; }

.form-note {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 0.8em;
  margin-bottom: 0;
}

.form-success {
  margin-top: 14px;
  padding: 0.9em 1.1em;
  background: rgba(169,128,61,0.12);
  border: 1px solid var(--brass-dim);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* hero plat illustration */

.hero-plat { display: flex; justify-content: center; }
.plat-svg { width: 100%; max-width: 460px; height: auto; }

.plat-boundary {
  fill: rgba(169,128,61,0.06);
  stroke: var(--ink);
  stroke-width: 1.4;
}
.plat-line { stroke: var(--brass); stroke-width: 1; stroke-dasharray: 4 4; }
.plat-line-faint { stroke: var(--hairline); stroke-width: 1; }
.plat-marker circle { fill: var(--ink); }
.plat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--slate);
}

.compass line { stroke: var(--ink-soft); stroke-width: 1.2; }
.compass-ring { fill: none; stroke: var(--hairline); stroke-width: 1; }
.compass-n {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--ink-soft);
  text-anchor: middle;
}

.stamp { color: var(--clay); }
.stamp-ring { fill: none; stroke: var(--clay); stroke-width: 1.6; stroke-dasharray: 2 3; opacity: 0.85; }
.stamp-text-top, .stamp-text-bottom {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  fill: var(--clay);
  text-anchor: middle;
  font-weight: 500;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-plat { order: -1; max-width: 340px; margin-inline: auto; }
  .hero h1 { max-width: none; }
}

/* ==========================================================================
   Stats bar
   ========================================================================== */

.stats-bar {
  background: var(--ink);
  color: var(--mist);
  padding-block: 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 0.3em;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--mist);
  line-height: 1.4;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Generic section rhythm
   ========================================================================== */

.section { padding-block: 96px; }
.section-alt { background: var(--parchment); }

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem);
  max-width: 26ch;
  margin-inline: auto;
  margin-bottom: 1.4em;
  color: var(--ink);
}

/* ==========================================================================
   How it works — "markers"
   ========================================================================== */

.markers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 3rem;
}
.marker {
  border-top: 2px solid var(--brass);
  padding-top: 1.4em;
}
.marker-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.9em;
}
.marker h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
.marker p { color: var(--slate); font-size: 0.97rem; margin-bottom: 0; }

@media (max-width: 760px) {
  .markers { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Benefits grid
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: 3rem;
}
.benefit {
  background: var(--parchment);
  padding: 30px 28px;
}
.benefit h3 { font-size: 1.08rem; margin-bottom: 0.5em; }
.benefit p { color: var(--slate); font-size: 0.94rem; margin-bottom: 0; }

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { margin-top: 2.5rem; }
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding-block: 18px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--clay);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  margin-top: 0.9em;
  margin-bottom: 0;
  color: var(--slate);
  max-width: 65ch;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-section {
  background: var(--ink);
  color: var(--paper);
  padding-block: 96px;
}
.cta-section::before, .cta-section::after {
  border-color: var(--brass-dim);
  opacity: 0.5;
}
.cta-inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta-title {
  color: var(--paper);
  font-size: clamp(1.8rem, 1.5rem + 1.3vw, 2.5rem);
}
.cta-lede { color: var(--mist); margin-bottom: 2em; }

.offer-form-dark .field-stack input,
.offer-form-dark .field-pair input {
  background: var(--ink-soft);
  border-color: var(--hairline-dark);
  color: var(--paper);
}
.offer-form-dark .field-stack input::placeholder,
.offer-form-dark .field-pair input::placeholder { color: var(--mist); }
.offer-form-dark .field-stack .btn { align-self: center; }
.offer-form-dark { margin-inline: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  padding-block: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 32px;
}
.footer-tagline { color: var(--slate); font-size: 0.9rem; max-width: 32ch; margin-top: 0.7em; }
.logo-text-footer { display: inline-block; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { text-decoration: none; font-size: 0.92rem; color: var(--ink-soft); }
.footer-nav a:hover { color: var(--clay); }

.footer-legal { font-size: 0.82rem; color: var(--slate); }
.footer-fineprint { color: #8b93a0; margin-top: 0.6em; }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
