/* =====================================================================
   Tierra Roja Land Co. — design tokens
   Charcoal night desert · terra-roja rust · warm sand type
   ===================================================================== */
:root {
  /* Color */
  --bg:          #14120F;
  --bg-deep:    #0E0C0A;
  --surface:    #1C1916;
  --surface-2:  #23201C;
  --surface-3:  #2A2622;
  --border:     #3A332D;
  --border-soft: #2A2622;

  --text:       #ECDFC5;   /* warm sand */
  --text-strong:#F4EAD3;
  --text-muted: #A39880;
  --text-faint: #6F6759;

  --accent:     #C04A2A;   /* terra roja rust */
  --accent-warm:#D9683D;
  --accent-hot: #E3754B;
  --accent-deep:#8E3119;
  --accent-soft:#5A2412;

  --success:    #6DAA45;
  --danger:     #D45D5D;

  /* Typography */
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body:    "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale (fluid) */
  --t-hero:   clamp(2.75rem, 1.2rem + 6vw, 6.25rem);  /* 44 → 100 */
  --t-h1:     clamp(2.25rem, 1.4rem + 3.2vw, 4rem);   /* 36 → 64 */
  --t-h2:     clamp(1.65rem, 1.1rem + 2.4vw, 2.75rem);/* 26 → 44 */
  --t-h3:     clamp(1.1rem, 0.95rem + 0.8vw, 1.35rem);
  --t-lede:   clamp(1.05rem, 0.95rem + 0.6vw, 1.2rem);
  --t-body:   1rem;
  --t-sm:     0.875rem;
  --t-xs:     0.75rem;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius: 10px;
  --radius-lg: 18px;

  /* Effects */
  --ring: 0 0 0 1px var(--border);
  --glow-accent: 0 0 0 1px color-mix(in oklab, var(--accent) 60%, transparent),
                 0 14px 50px -10px color-mix(in oklab, var(--accent) 35%, transparent);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ===================== Reset / base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

/* Subtle film-grain noise via SVG */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9   0 0 0 0 0.83   0 0 0 0 0.6   0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .35;
}

/* Background linework */
.bg-linework {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .9;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--bg);
  padding: .6rem 1rem; font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Selection */
::selection { background: var(--accent); color: var(--bg); }

/* ===================== Typography utilities ===================== */
.eyebrow, .kicker, .nav__sub, .strip__label, .success__ref, .counties__label, .step__time {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 70%, transparent);
  color: var(--text-strong);
  backdrop-filter: blur(6px);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 30%, transparent);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 30%, transparent); }
  50%     { box-shadow: 0 0 0 7px color-mix(in oklab, var(--accent) 6%, transparent); }
}

.kicker { display: inline-block; margin-bottom: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  letter-spacing: -0.012em;
  line-height: 1.06;
  color: var(--text-strong);
  margin: 0;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--accent-warm);
}

p { margin: 0; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--t-sm);
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease),
              box-shadow .25s var(--ease);
  text-decoration: none;
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent) 60%, var(--accent-deep));
  color: #1a0d07;
  border-color: color-mix(in oklab, var(--accent) 70%, #000);
  box-shadow: var(--glow-accent), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow-accent), 0 18px 36px -14px color-mix(in oklab, var(--accent) 50%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: color-mix(in oklab, var(--accent) 40%, var(--border));
  color: var(--text-strong);
}
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
}

/* ===================== Nav ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.nav__logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-deep);
  box-shadow: 0 0 0 1px var(--border), 0 6px 24px -10px rgba(0,0,0,.6);
}
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: .01em;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  color: var(--text-strong);
}
.nav__sub {
  margin-top: 4px;
  font-size: 10px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav__links a {
  font-size: var(--t-sm);
  color: var(--text-muted);
  position: relative;
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--text-strong); }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }

.nav__cta {
  padding: .55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-strong);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  transition: all .2s var(--ease);
}
.nav__cta:hover {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 14%, var(--surface));
  color: var(--text-strong);
}

@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 3vw + 2rem, 6rem) var(--gutter) clamp(2.5rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  z-index: 2;
}

.hero__content { max-width: 38rem; }
.hero__title {
  margin-top: 1.4rem;
  font-size: var(--t-hero);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero__accent { color: var(--accent-warm); }
.hero__lede {
  margin-top: 1.6rem;
  font-size: var(--t-lede);
  color: var(--text-muted);
  max-width: 34rem;
  line-height: 1.55;
}
.hero__ctas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.hero__bullets {
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.6rem;
}
.hero__bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--t-sm);
  color: var(--text);
}
.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* Badge / hero logo block */
.hero__badge {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero__badge::before {
  content: "";
  position: absolute;
  inset: -8% -8% -10% -8%;
  background:
    radial-gradient(circle at 50% 45%,
      color-mix(in oklab, var(--accent) 22%, transparent) 0%,
      transparent 55%);
  filter: blur(20px);
  z-index: -1;
}
.hero__badge::after {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px dashed color-mix(in oklab, var(--accent) 30%, var(--border));
  border-radius: 50%;
  animation: spin 90s linear infinite;
  z-index: -1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__logo {
  width: 92%;
  height: auto;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,.55));
}
.hero__caption {
  position: absolute;
  bottom: -2.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--text-faint);
  white-space: nowrap;
}
.hero__caption-line {
  width: 40px; height: 1px;
  background: var(--accent);
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero__badge { order: -1; width: min(82%, 420px); }
  .hero__title { font-size: clamp(2.5rem, 9vw, 4rem); }
}

/* ===================== Strip (KPI) ===================== */
.strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: color-mix(in oklab, var(--surface) 50%, transparent);
}
.strip__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.strip__item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1 1 0;
  min-width: 140px;
}
.strip__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2vw + 1.4rem, 3rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1;
}
.strip__num small {
  font-size: .55em;
  color: var(--accent-warm);
  margin-left: 2px;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  font-style: italic;
}
.strip__divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
@media (max-width: 720px) { .strip__divider { display: none; } }

/* ===================== Generic section ===================== */
.section {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.section__head { max-width: 56ch; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: var(--t-h2); }
.section__lede {
  margin-top: 1.1rem;
  font-size: var(--t-lede);
  color: var(--text-muted);
}

/* ===================== Steps ===================== */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.6rem 1.4rem 1.8rem;
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.step:hover {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--border));
  transform: translateY(-3px);
}
.step__num {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--accent-warm);
  letter-spacing: .2em;
}
.step__body h3 {
  margin: .9rem 0 .5rem;
  font-size: var(--t-h3);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-strong);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0;
}
.step__body p { color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
.step__time {
  display: inline-block;
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--border);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--text-faint);
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ===================== Cards ===================== */
.grid--3 {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--3 { grid-template-columns: 1fr; } }

.card {
  padding: 1.8rem 1.6rem;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--surface) 85%, transparent),
    color-mix(in oklab, var(--surface-2) 85%, transparent));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.card:hover {
  border-color: color-mix(in oklab, var(--accent) 40%, var(--border));
  transform: translateY(-3px);
}
.card__icon {
  width: 32px; height: 32px;
  color: var(--accent-warm);
  margin-bottom: 1.1rem;
}
.card h3 {
  font-size: var(--t-h3);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: .5rem;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0;
}
.card p { color: var(--text-muted); font-size: .95rem; line-height: 1.55; }

/* ===================== Counties strip ===================== */
.counties {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(60% 100% at 50% 50%,
      color-mix(in oklab, var(--accent) 8%, transparent),
      transparent 70%),
    color-mix(in oklab, var(--bg-deep) 80%, transparent);
  padding: 2rem var(--gutter);
  text-align: center;
  overflow: hidden;
}
.counties__label {
  display: block;
  margin-bottom: .9rem;
}
.counties__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem .9rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  letter-spacing: -0.005em;
  color: var(--text-strong);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.counties__row span:nth-child(even) { color: var(--accent); }

/* ===================== Offer form ===================== */
.offer { max-width: 920px; }
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
}
.form__help {
  font-size: var(--t-xs);
  color: var(--text-faint);
  margin-bottom: 1.6rem;
  font-family: var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form__group {
  border: 0;
  margin: 0 0 2rem;
  padding: 0;
}
.form__group + .form__group {
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
}
.form__legend {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1.2rem;
  padding: 0;
}

.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: .45rem;
}
.req { color: var(--accent-warm); margin-left: 2px; }
.opt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 400;
  margin-left: 4px;
}

input, select, textarea {
  font: inherit;
  width: 100%;
  padding: .85rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-strong);
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
select { appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23A39880' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
input:hover, select:hover, textarea:hover { border-color: color-mix(in oklab, var(--accent) 30%, var(--border)); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: color-mix(in oklab, var(--bg-deep) 88%, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--danger) 15%, transparent);
}

.hint {
  font-size: .8rem;
  color: var(--text-faint);
  margin-top: .4rem;
}
.error {
  display: none;
  font-size: .8rem;
  color: var(--danger);
  margin-top: .4rem;
}
.field.invalid .error { display: block; }

.form__footer {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.form__fine {
  font-size: .8rem;
  color: var(--text-faint);
  max-width: 28rem;
}
.bot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.form__submit-error {
  width: 100%;
  margin-top: .75rem;
  color: var(--danger);
  font-weight: 700;
}

.btn__loading { display: none; align-items: center; gap: .5rem; }
.btn[data-loading="true"] .btn__label { display: none; }
.btn[data-loading="true"] .btn__loading { display: inline-flex; }
.btn[data-loading="true"] { pointer-events: none; opacity: .85; }
.spinner {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid color-mix(in oklab, currentColor 35%, transparent);
  border-top-color: currentColor;
  animation: spin 0.7s linear infinite;
}

/* Success state */
.success {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--border));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6),
              0 0 0 1px color-mix(in oklab, var(--accent) 15%, transparent);
  animation: rise .6s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.success__mark {
  width: 72px; height: 72px;
  margin: 0 auto 1.4rem;
  color: var(--accent-warm);
  filter: drop-shadow(0 8px 30px color-mix(in oklab, var(--accent) 30%, transparent));
}
.success__title {
  font-size: var(--t-h2);
  font-family: var(--font-display);
  margin-bottom: .9rem;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.success__lede {
  color: var(--text-muted);
  font-size: var(--t-lede);
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.55;
}
.success__lede--muted { margin-top: 1rem; font-size: 1rem; color: var(--text-faint); }
.success__meta {
  margin: 1.8rem 0 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-deep);
}
.success__ref { font-size: 10px; color: var(--text-faint); }
#success-ref {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--accent-warm);
  letter-spacing: .12em;
}

/* ===================== Land inventory ===================== */
.inventory {
  position: relative;
  overflow: hidden;
}
.inventory::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto;
  height: 42rem;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 30%,
      color-mix(in oklab, var(--accent) 16%, transparent),
      transparent 62%);
  opacity: .65;
  filter: blur(10px);
}
.inventory > * {
  position: relative;
  z-index: 1;
}
.inventory__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 980px) {
  .inventory__grid { grid-template-columns: 1fr; }
}
.listing-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg,
      color-mix(in oklab, var(--surface) 88%, transparent),
      color-mix(in oklab, var(--surface-2) 92%, transparent));
  box-shadow: 0 28px 70px -48px rgba(0,0,0,.95);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.listing-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--accent) 42%, var(--border));
}
.listing-card--feature {
  border-color: color-mix(in oklab, var(--accent) 34%, var(--border));
}
.listing-card__media {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
  background:
    linear-gradient(165deg,
      color-mix(in oklab, var(--accent-deep) 72%, #000 28%),
      color-mix(in oklab, var(--accent) 52%, var(--bg-deep)) 58%,
      var(--surface-2));
}
.listing-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(170deg,
      color-mix(in oklab, var(--sand) 14%, transparent) 0 1px,
      transparent 1px 28px),
    radial-gradient(circle at 22% 24%,
      color-mix(in oklab, var(--sand) 18%, transparent),
      transparent 18%);
  opacity: .45;
}
.listing-card__media--gold {
  background:
    linear-gradient(165deg,
      color-mix(in oklab, #7d4b21 60%, #000),
      color-mix(in oklab, var(--sand) 28%, var(--accent-deep)) 62%,
      var(--surface-2));
}
.listing-card__media--dark {
  background:
    linear-gradient(165deg,
      var(--bg-deep),
      color-mix(in oklab, var(--accent-deep) 58%, var(--surface)) 68%,
      var(--surface-2));
}
.listing-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: .45rem .65rem;
  border: 1px solid color-mix(in oklab, var(--sand) 28%, transparent);
  border-radius: 999px;
  background: rgba(20, 18, 15, .62);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.listing-card__mesa {
  position: absolute;
  right: -6%;
  bottom: -1px;
  width: 82%;
  height: 58%;
  background: color-mix(in oklab, var(--bg-deep) 72%, var(--accent-deep));
  clip-path: polygon(0 82%, 12% 66%, 29% 66%, 36% 38%, 47% 38%, 53% 58%, 68% 58%, 78% 72%, 100% 76%, 100% 100%, 0 100%);
  opacity: .88;
}
.listing-card__body {
  padding: clamp(1.35rem, 2.4vw, 1.8rem);
}
.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-bottom: .85rem;
  color: var(--accent-warm);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.listing-card h3 {
  margin-bottom: .65rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.05;
  font-variation-settings: "opsz" 144, "SOFT" 70, "WONK" 1;
}
.listing-card p {
  color: var(--text-muted);
  line-height: 1.55;
}
.listing-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.1rem;
}
.listing-card__facts span {
  padding: .42rem .6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: .78rem;
}
.listing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}
.listing-card__footer strong {
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.listing-card__footer a {
  color: var(--accent-warm);
  font-weight: 700;
  text-decoration: none;
}
.listing-card__footer a:hover { color: var(--sand); }
.inventory__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(1.2rem, 2.4vw, 1.8rem);
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border: 1px solid color-mix(in oklab, var(--accent) 34%, var(--border));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg,
      color-mix(in oklab, var(--accent-deep) 18%, var(--surface)),
      color-mix(in oklab, var(--surface) 86%, transparent));
}
@media (max-width: 760px) {
  .inventory__note {
    align-items: flex-start;
    flex-direction: column;
  }
}
.inventory__note p {
  max-width: 58rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.inventory__button {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #160e0a;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 40px -24px var(--accent);
}
.inventory__button:hover {
  background: var(--accent-warm);
  transform: translateY(-1px);
}

/* ===================== FAQ ===================== */
.faq { max-width: 880px; }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: var(--text-strong);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0;
  transition: color .2s var(--ease);
}
.faq__item summary:hover { color: var(--accent-warm); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
  transition: transform .3s var(--ease);
}
.faq__chev::before, .faq__chev::after {
  content: "";
  position: absolute;
  background: var(--accent-warm);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq__chev::before { width: 14px; height: 1.5px; }
.faq__chev::after { width: 1.5px; height: 14px; transition: transform .3s var(--ease); }
.faq__item[open] .faq__chev::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__body {
  padding: 0 0 1.4rem;
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ===================== CTA strip ===================== */
.cta-strip {
  position: relative;
  z-index: 2;
  margin: 0 var(--gutter) calc(var(--section-y) * .6);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(50% 100% at 50% 0%,
      color-mix(in oklab, var(--accent) 18%, transparent),
      transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  text-align: center;
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  margin-inline: auto;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200'><g fill='none' stroke='%23C04A2A' stroke-width='0.5' opacity='0.12'><path d='M0,160 Q200,120 400,140 T800,130'/><path d='M0,170 Q200,135 400,150 T800,145'/><path d='M0,180 Q200,150 400,165 T800,160'/></g></svg>") center bottom / cover no-repeat;
  pointer-events: none;
}
.cta-strip__inner { position: relative; }
.cta-strip h2 {
  font-size: var(--t-h2);
  margin-bottom: .8rem;
}
.cta-strip p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  font-size: var(--t-lede);
}

/* ===================== Footer ===================== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-deep);
  padding-top: clamp(3rem, 5vw, 4rem);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
}
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.footer__brand img {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--border);
}
.footer__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-strong);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.footer__tag {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
}
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__cols h4 {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer__cols a {
  display: block;
  padding: .25rem 0;
  font-size: .95rem;
  color: var(--text);
  transition: color .2s var(--ease);
}
.footer__cols a:hover { color: var(--accent-warm); }
.footer__counties {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 32rem;
}
.footer__legal {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.4rem var(--gutter);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .8rem;
  color: var(--text-faint);
  max-width: var(--maxw);
  margin-inline: auto;
}

/* ===================== Scroll reveal ===================== */
/* Only hide elements when JS is ready — graceful degradation. */
html.js-ready .reveal {
  opacity: 0.001;            /* near-zero, but stays in document */
  transform: translateY(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
html.js-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal { opacity: 1; transform: none; transition: none; }
}
/* When the page is printed or being captured, skip reveal. */
@media print {
  html.js-ready .reveal { opacity: 1 !important; transform: none !important; }
}
