@import "tailwindcss";

:root {
  --forest-950: #06271f;
  --forest-900: #0a3328;
  --forest-800: #124636;
  --forest-700: #1c5a45;
  --sage-300: #b8c4ae;
  --sage-100: #e7ece2;
  --cream: #f2eee3;
  --paper: #fbfaf6;
  --white: #ffffff;
  --gold: #d4a94f;
  --gold-light: #efdca8;
  --ink: #13211a;
  --muted: #667069;
  --line: #d7ddd7;
  --font-display: Georgia, Cambria, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body,
button,
select {
  font-family: var(--font-body);
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--white);
  color: var(--forest-950);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.utility-bar {
  background: var(--forest-950);
  color: #dfe8df;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.utility-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner a {
  color: var(--gold-light);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(12, 51, 40, 0.1);
  background: rgba(251, 250, 246, 0.96);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  flex: 0 0 auto;
  width: 244px;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 14px;
}

.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--forest-700);
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 19px;
  border-radius: 999px;
  background: var(--forest-900);
  color: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--forest-700);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest-900);
  color: var(--white);
}

.hero-contours,
.match-contours {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(ellipse at 15% 20%, transparent 0 20%, rgba(212, 169, 79, 0.22) 20.15% 20.45%, transparent 20.6% 30%, rgba(212, 169, 79, 0.14) 30.15% 30.4%, transparent 30.6%),
    radial-gradient(ellipse at 88% 72%, transparent 0 16%, rgba(255, 255, 255, 0.12) 16.15% 16.4%, transparent 16.6% 26%, rgba(255, 255, 255, 0.1) 26.15% 26.35%, transparent 26.55%);
  background-size: 720px 560px, 690px 540px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 72px;
  align-items: center;
  padding-block: 80px 106px;
}

.hero-copy {
  padding-block: 30px;
  animation: rise 600ms both;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--forest-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1,
.section-heading h2,
.why-copy h2,
.match-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.01;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(58px, 6.5vw, 90px);
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #dfe8df;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions,
.match-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 13px 21px;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: var(--forest-950);
}

.button-primary:hover {
  background: #e1b95f;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button-quiet:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  margin: 25px 0 0;
  color: var(--sage-300);
  font-size: 13px;
}

.hero-note span {
  margin-right: 7px;
  color: #8fbd80;
  font-size: 9px;
}

.hero-property {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #173a2e;
  box-shadow: 0 32px 90px rgba(1, 20, 15, 0.42);
  animation: rise 650ms 120ms both;
}

.hero-property::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4, 25, 18, 0.07) 35%, rgba(4, 25, 18, 0.84) 100%);
}

.hero-property > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-property:hover > img {
  transform: scale(1.035);
}

.hero-property-topline {
  position: absolute;
  z-index: 2;
  top: 32px;
  right: 38px;
  left: 38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-property-card {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 30px;
  left: 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-property-card p,
.hero-property-card strong {
  margin: 0;
}

.hero-property-card p {
  margin-bottom: 5px;
  color: #dfe8df;
  font-size: 13px;
}

.hero-property-card > div:first-child strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

.hero-price {
  text-align: right;
}

.hero-price span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-price strong {
  font-size: 18px;
}

.trust-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-row > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 15px;
  padding: 27px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-row > div:first-child { padding-left: 0; }
.trust-row > div:last-child { border-right: 0; }

.trust-number {
  grid-row: 1 / 3;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 25px;
  font-style: italic;
}

.trust-row strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.trust-row div > span:last-child {
  color: var(--sage-300);
  font-size: 12px;
}

.search-section,
.use-section,
.process-section {
  padding-block: 110px;
}

.search-section {
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 44px;
}

.section-heading h2,
.why-copy h2,
.match-section h2 {
  font-size: clamp(42px, 5vw, 66px);
}

.land-heading-wrap h2 {
  max-width: 760px;
}

.text-link,
.use-link,
.footer-cta {
  color: var(--forest-700);
  font-size: 14px;
  font-weight: 850;
}

.text-link {
  flex: 0 0 auto;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--forest-700);
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(15, 45, 34, 0.06);
}

.filter-panel label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 17px;
  border-right: 1px solid var(--line);
}

.filter-panel label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-panel select {
  width: 100%;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.filter-panel select:focus {
  outline: 0;
}

.filter-reset {
  min-width: 82px;
  border: 0;
  border-radius: 3px;
  background: var(--forest-900);
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.filter-reset:hover {
  background: var(--forest-700);
}

.property-map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 60px 0 22px;
  scroll-margin-top: 110px;
}

.property-map-heading h3 {
  margin: 4px 0 9px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.property-map-heading > div > p:last-child {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.gps-source-badge {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid #a9b8a9;
  border-radius: 999px;
  color: var(--forest-700);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.property-map-explorer {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(310px, .65fr);
  overflow: hidden;
  border: 1px solid #bec9bf;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(15, 45, 34, .09);
}

.property-map-stage {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #dce5dd;
}

.property-map-canvas,
.property-map-stage .leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 570px;
  font-family: var(--font-body);
}

.property-map-stage .leaflet-control-container {
  position: relative;
  z-index: 5;
}

.ct-map-marker-shell {
  background: transparent;
  border: 0;
}

.ct-map-marker {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 8px;
  background: var(--forest-800);
  color: var(--white);
  box-shadow: 0 5px 16px rgba(7, 31, 24, .32);
  line-height: 1;
  text-align: center;
  transform: rotate(-45deg);
  transition: transform 180ms ease, background 180ms ease;
}

.ct-map-marker b,
.ct-map-marker small {
  display: block;
  transform: rotate(45deg);
}

.ct-map-marker b { font-size: 11px; }
.ct-map-marker small { margin-top: 2px; font-size: 7px; font-weight: 900; }
.ct-map-marker-contract { background: #86714d; }
.ct-map-marker-shell.is-selected .ct-map-marker { background: var(--gold); color: var(--forest-950); transform: rotate(-45deg) scale(1.16); }

.property-map-key {
  position: absolute;
  z-index: 10;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 14px;
  padding: 9px 12px;
  border-radius: 3px;
  background: rgba(251, 250, 246, .94);
  box-shadow: 0 3px 14px rgba(7, 31, 24, .12);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.property-map-key span { display: flex; align-items: center; gap: 5px; }
.property-map-key i { width: 8px; height: 8px; border-radius: 50%; background: var(--forest-800); }
.property-map-key i.contract { background: #86714d; }

.property-map-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f7f5ef;
}

.property-map-selected { padding: 20px; border-bottom: 1px solid var(--line); }
.property-map-selected-image { position: relative; aspect-ratio: 5 / 3; overflow: hidden; border-radius: 3px; background: var(--sage-100); }
.property-map-selected-image img { width: 100%; height: 100%; object-fit: cover; }
.property-map-selected-image span { position: absolute; top: 12px; left: 12px; padding: 6px 8px; border-radius: 999px; background: rgba(251,250,246,.93); color: var(--forest-900); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.property-map-selected > p { margin: 16px 0 4px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.property-map-selected h3 { margin: 0; font-family: var(--font-display); font-size: 27px; font-weight: 500; line-height: 1.08; }
.property-map-selected-facts { display: flex; justify-content: space-between; gap: 12px; margin: 17px 0; font-size: 13px; }
.property-map-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.property-map-actions a { display: grid; min-height: 40px; place-items: center; border: 1px solid var(--forest-800); border-radius: 3px; color: var(--forest-800); font-size: 11px; font-weight: 900; }
.property-map-actions a:first-child { background: var(--forest-800); color: var(--white); }
.property-map-selected > small { display: block; margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.45; }

.property-map-list { flex: 1; max-height: 260px; overflow-y: auto; padding: 8px; }
.property-map-list button { width: 100%; display: grid; gap: 2px; padding: 11px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.property-map-list button:last-child { border-bottom: 0; }
.property-map-list button:hover, .property-map-list button.is-selected { background: var(--white); }
.property-map-list span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.property-map-list strong { font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.property-map-list small { color: var(--forest-700); font-size: 10px; font-weight: 800; }
.property-map-empty { margin-top: 22px; padding: 40px; border: 1px dashed var(--line); border-radius: 4px; color: var(--muted); text-align: center; }

.results-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 25px 0;
  color: var(--muted);
  font-size: 12px;
}

.results-line span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.results-rule {
  width: 30px;
  height: 1px;
  background: var(--line);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.listing-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  animation: rise 500ms var(--delay, 0ms) both;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(18, 70, 54, 0.12);
}

.listing-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: var(--sage-100);
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.listing-card:hover .listing-image img {
  transform: scale(1.04);
}

.status-pill,
.card-arrow {
  position: absolute;
  z-index: 2;
}

.status-pill {
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.92);
  color: var(--forest-900);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-arrow {
  top: 14px;
  right: 14px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--white);
  font-size: 17px;
}

.listing-body {
  padding: 22px 22px 24px;
}

.listing-place,
.listing-facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.listing-place {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.listing-body h3 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.15;
}

.listing-body h3 a:hover {
  color: var(--forest-700);
}

.listing-facts {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.listing-facts strong {
  font-size: 14px;
}

.listing-facts strong:last-child {
  color: var(--forest-700);
  font-size: 17px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag-row span {
  padding: 5px 8px;
  border-radius: 2px;
  background: var(--sage-100);
  color: #385044;
  font-size: 10px;
  font-weight: 750;
}

.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 15px;
  border: 1px dashed #aab6ad;
  background: var(--white);
}

.empty-state p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
}

.use-section {
  background: var(--cream);
}

.compact-heading > p,
.process-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 15px;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cdd2ca;
  border-bottom: 1px solid #cdd2ca;
}

.use-grid > a {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-right: 1px solid #cdd2ca;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.use-grid > a:last-child {
  border-right: 0;
}

.use-grid > a:hover {
  transform: translateY(-7px);
  background: var(--forest-900);
  color: var(--white);
}

.use-index {
  color: var(--forest-700);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
}

.use-grid a:hover .use-index,
.use-grid a:hover .use-link {
  color: var(--gold-light);
}

.use-grid h3 {
  margin: 43px 0 16px;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.1;
}

.use-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.use-grid a:hover p {
  color: #d3ddd5;
}

.use-link {
  margin-top: auto;
}

.use-link b {
  float: right;
  font-size: 17px;
}

.why-section {
  padding-block: 120px;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 92px;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-visual > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
  border-radius: 6px;
  background: var(--sage-100);
}

.why-stamp {
  position: absolute;
  right: -36px;
  bottom: 34px;
  width: 148px;
  height: 148px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-950);
  text-align: center;
  transform: rotate(-8deg);
}

.why-stamp strong {
  font-family: var(--font-display);
  font-size: 29px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.why-stamp span {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.why-lede {
  max-width: 620px;
  margin: 25px 0 42px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.why-list {
  border-top: 1px solid var(--line);
}

.why-list > div {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.why-list > div > span {
  color: var(--forest-700);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
}

.why-list h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.process-section {
  background: var(--forest-950);
  color: var(--white);
}

.process-section .eyebrow {
  color: var(--gold-light);
}

.process-heading > p {
  color: var(--sage-300);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.process-grid li {
  min-height: 270px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.process-grid li:last-child {
  border-right: 0;
}

.process-grid li > span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
}

.process-grid h3 {
  margin: 52px 0 12px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
}

.process-grid p {
  margin: 0;
  color: var(--sage-300);
  font-size: 14px;
}

.match-section {
  position: relative;
  overflow: hidden;
  padding-block: 105px;
  background: var(--forest-800);
  color: var(--white);
}

.match-contours {
  opacity: 0.45;
  background-position: 90% 40%;
}

.match-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 100px;
  align-items: end;
}

.eyebrow-light {
  color: var(--gold-light);
}

.match-grid > div:last-child > p {
  margin: 0;
  color: #dbe4dc;
  font-size: 17px;
  line-height: 1.7;
}

.button-gold {
  background: var(--gold);
  color: var(--forest-950);
}

.button-gold:hover {
  background: #e2bb66;
}

.match-phone {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 80px 0 26px;
  background: #081f19;
  color: #d9e2da;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.72fr 0.9fr 1fr;
  gap: 65px;
  padding-bottom: 70px;
}

.footer-brand img {
  width: 270px;
  margin-bottom: 23px;
  padding: 13px;
  border-radius: 2px;
  background: var(--cream);
}

.footer-grid h2 {
  margin: 4px 0 20px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 10px;
  color: #aebbb1;
  font-size: 13px;
  line-height: 1.7;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-cta {
  display: inline-block !important;
  margin-top: 10px !important;
  color: var(--gold-light) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #819087;
  font-size: 11px;
}

.mobile-action-bar {
  display: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .primary-nav { gap: 20px; }
  .primary-nav > a:not(.nav-cta) { display: none; }
  .hero-grid { gap: 45px; grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr); }
  .hero-property { min-height: 0; }
  .filter-panel { grid-template-columns: repeat(2, 1fr) 84px; }
  .filter-panel label:nth-child(2) { border-right: 0; }
  .filter-panel label:nth-child(3),
  .filter-panel label:nth-child(4) { border-top: 1px solid var(--line); }
  .filter-reset { grid-column: 3; grid-row: 1 / 3; }
  .property-map-explorer { grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .use-grid > a { border-bottom: 1px solid #cdd2ca; }
  .use-grid > a:nth-child(2) { border-right: 0; }
  .use-grid > a:nth-child(3), .use-grid > a:nth-child(4) { border-bottom: 0; }
  .why-grid { gap: 65px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 35px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 34px, 680px); }
  .utility-inner span { display: none; }
  .utility-inner { justify-content: center; }
  .nav-wrap { min-height: 72px; }
  .brand { width: 205px; }
  .menu-button { display: flex; }
  .primary-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 16px 22px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 35px rgba(8, 31, 25, 0.12);
  }
  .primary-nav.nav-open { display: flex; }
  .primary-nav > a:not(.nav-cta) { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .primary-nav > a::after { display: none; }
  .nav-cta { margin-top: 13px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 60px 75px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 620px; }
  .hero-property { min-height: 0; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row > div, .trust-row > div:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .trust-row > div:last-child { border-bottom: 0; }
  .search-section, .use-section, .process-section { padding-block: 80px; }
  .section-heading, .match-grid { align-items: start; flex-direction: column; }
  .section-heading { display: flex; gap: 25px; }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .filter-panel label { border-bottom: 1px solid var(--line); }
  .filter-panel label:nth-child(2) { border-right: 0; }
  .filter-panel label:nth-child(3), .filter-panel label:nth-child(4) { border-top: 0; border-bottom: 0; }
  .filter-reset { grid-column: 1 / 3; grid-row: auto; min-height: 45px; }
  .property-map-heading { align-items: start; flex-direction: column; gap: 16px; }
  .property-map-explorer { grid-template-columns: 1fr; }
  .property-map-stage, .property-map-canvas, .property-map-stage .leaflet-container { min-height: 480px; }
  .property-map-panel { display: grid; grid-template-columns: 1.05fr .95fr; }
  .property-map-selected { border-right: 1px solid var(--line); border-bottom: 0; }
  .property-map-list { max-height: 410px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 580px; }
  .why-visual > img { min-height: 0; }
  .why-stamp { right: -10px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li { border-bottom: 1px solid rgba(255,255,255,.18); }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(3), .process-grid li:nth-child(4) { border-bottom: 0; }
  .match-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
}

@media (max-width: 600px) {
  body { padding-bottom: 62px; }
  .container { width: min(100% - 28px, 520px); }
  .brand { width: 186px; }
  .hero-grid { gap: 38px; padding-block: 48px 55px; }
  .hero h1 { font-size: clamp(50px, 16vw, 70px); }
  .hero-lede { font-size: 17px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-property { min-height: 0; border-radius: 6px; }
  .hero-property-topline { top: 28px; right: 27px; left: 27px; }
  .hero-property-card { right: 22px; bottom: 23px; left: 22px; flex-direction: column; align-items: start; gap: 12px; }
  .hero-price { text-align: left; }
  .hero-property-card > div:first-child strong { font-size: 21px; }
  .section-heading h2, .why-copy h2, .match-section h2 { font-size: clamp(39px, 12vw, 52px); }
  .filter-panel { grid-template-columns: 1fr; }
  .filter-panel label, .filter-panel label:nth-child(2), .filter-panel label:nth-child(3), .filter-panel label:nth-child(4) { border-right: 0; border-bottom: 1px solid var(--line); }
  .filter-reset { grid-column: auto; }
  .property-map-heading { margin-top: 45px; }
  .property-map-stage, .property-map-canvas, .property-map-stage .leaflet-container { min-height: 400px; }
  .property-map-key { right: 8px; bottom: 8px; }
  .property-map-panel { display: flex; }
  .property-map-selected { border-right: 0; border-bottom: 1px solid var(--line); }
  .property-map-list { max-height: 245px; }
  .results-line span:last-child, .results-rule { display: none; }
  .listing-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr; }
  .use-grid > a { min-height: 280px; border-right: 0; border-bottom: 1px solid #cdd2ca !important; }
  .use-grid > a:last-child { border-bottom: 0 !important; }
  .why-section { padding-block: 80px; }
  .why-visual > img { min-height: 0; }
  .why-stamp { width: 122px; height: 122px; }
  .why-stamp strong { font-size: 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18) !important; }
  .process-grid li:last-child { border-bottom: 0 !important; }
  .process-grid h3 { margin-top: 25px; }
  .match-section { padding-block: 80px; }
  .match-actions, .match-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-action-bar {
    position: fixed;
    z-index: 200;
    right: 0;
    bottom: 0;
    left: 0;
    height: 62px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    border-top: 1px solid rgba(255,255,255,.15);
    background: var(--forest-950);
    color: var(--white);
    box-shadow: 0 -8px 25px rgba(8,31,25,.2);
  }
  .mobile-action-bar a { display: grid; place-items: center; font-size: 12px; font-weight: 900; }
  .mobile-action-bar a:last-child { background: var(--gold); color: var(--forest-950); }
}

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

/* Sold property archive */
.sold-page { min-height: 100vh; background: var(--paper); }
.sold-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.sold-nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sold-nav > a { width: 230px; }
.sold-nav img { width: 100%; height: auto; display: block; }
.sold-nav nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 850; }
.sold-hero { padding: 95px 0; background: var(--forest-900); color: var(--white); }
.sold-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; }
.sold-hero h1 { max-width: 700px; font-size: clamp(56px, 8vw, 100px); }
.sold-hero-grid > div:last-child p { margin: 0 0 25px; color: #d6e1d8; font-size: 18px; line-height: 1.7; }
.sold-hero-grid > div:last-child span { display: inline-block; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.25); color: var(--gold-light); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.sold-archive { padding: 100px 0 120px; }
.sold-archive-heading { margin-bottom: 35px; }
.sold-archive-heading h2 { margin: 5px 0 12px; font-size: clamp(42px, 5vw, 65px); }
.sold-archive-heading > div > p:last-child { max-width: 700px; margin: 0; color: var(--muted); line-height: 1.65; }
.sold-filter-panel { display: grid; grid-template-columns: minmax(170px, .7fr) minmax(220px, 1fr) minmax(300px, 1.4fr) auto; gap: 0; padding: 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); box-shadow: 0 16px 50px rgba(15,45,34,.06); }
.sold-filter-panel label { min-width: 0; display: grid; gap: 3px; padding: 10px 17px; border-right: 1px solid var(--line); }
.sold-filter-panel label > span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sold-filter-panel select, .sold-filter-panel input { width: 100%; min-height: 30px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; }
.sold-filter-panel select { cursor: pointer; }
.sold-filter-panel select:focus, .sold-filter-panel input:focus { outline: 0; }
.sold-filter-panel > button { min-width: 82px; border: 0; border-radius: 3px; background: var(--forest-900); color: var(--white); font-size: 12px; font-weight: 900; cursor: pointer; }
.sold-filter-panel > button:hover { background: var(--forest-700); }
.sold-results-count { margin: 19px 0; color: var(--muted); font-size: 12px; }
.sold-results-count strong { color: var(--ink); }
.sold-table { border-top: 2px solid var(--forest-900); }
.sold-row { display: grid; grid-template-columns: 1.2fr 1fr .55fr .75fr; gap: 25px; align-items: center; min-height: 82px; padding: 15px 8px; border-bottom: 1px solid var(--line); }
.sold-row-head { min-height: 46px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.sold-row strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.sold-row > span { color: var(--muted); font-size: 12px; }
.sold-row > span small { color: var(--forest-700); font-size: 10px; font-weight: 850; }
.sold-row a { color: var(--forest-700); font-size: 11px; font-weight: 900; text-align: right; }
.sold-empty { padding: 35px; border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; }
.sold-continuity { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 75px; border: 1px solid var(--line); background: var(--white); }
.sold-continuity > div { min-height: 235px; padding: 30px; border-right: 1px solid var(--line); }
.sold-continuity > div:last-child { border-right: 0; }
.sold-continuity span { display: block; margin-bottom: 45px; color: var(--gold-deep); font-family: var(--font-display); font-size: 24px; font-style: italic; }
.sold-continuity strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.sold-continuity p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.sold-legacy-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 25px; padding: 22px 25px; background: var(--cream); }
.sold-legacy-callout p { margin: 0; color: var(--muted); }
.sold-legacy-callout a { color: var(--forest-700); font-size: 12px; font-weight: 900; }

@media (max-width: 820px) {
  .sold-nav nav a:not(:last-child) { display: none; }
  .sold-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .sold-filter-panel { grid-template-columns: 1fr 1fr; }
  .sold-filter-panel label:nth-child(2) { border-right: 0; }
  .sold-filter-panel .sold-search { grid-column: 1 / 3; border-top: 1px solid var(--line); }
  .sold-filter-panel > button { grid-column: 1 / 3; min-height: 44px; }
  .sold-row { grid-template-columns: 1fr auto; gap: 7px 20px; padding: 18px 8px; }
  .sold-row-head { display: none; }
  .sold-row > span { grid-column: 1; }
  .sold-row a { grid-column: 2; grid-row: 1 / 3; }
  .sold-continuity { grid-template-columns: 1fr; }
  .sold-continuity > div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .sold-continuity > div:last-child { border-bottom: 0; }
  .sold-continuity span { margin-bottom: 24px; }
}

@media (max-width: 600px) {
  .sold-nav > a { width: 190px; }
  .sold-hero { padding: 70px 0; }
  .sold-archive { padding: 75px 0 95px; }
  .sold-filter-panel { grid-template-columns: 1fr; }
  .sold-filter-panel label, .sold-filter-panel label:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .sold-filter-panel .sold-search, .sold-filter-panel > button { grid-column: auto; }
  .sold-row a { max-width: 105px; }
  .sold-legacy-callout { align-items: start; flex-direction: column; }
}

/* Property detail template */
.property-page {
  background: var(--paper);
}

.property-mobile-menu,
.property-mobile-actions {
  display: none;
}

.property-masthead {
  position: relative;
  overflow: hidden;
  padding: 28px 0 0;
  background: var(--cream);
}

.property-contours {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    radial-gradient(ellipse at 14% 18%, transparent 0 19%, rgba(18, 70, 54, .25) 19.1% 19.35%, transparent 19.5% 28%, rgba(18, 70, 54, .18) 28.1% 28.35%, transparent 28.5%),
    radial-gradient(ellipse at 91% 81%, transparent 0 17%, rgba(18, 70, 54, .2) 17.1% 17.35%, transparent 17.5% 25%, rgba(18, 70, 54, .15) 25.1% 25.35%, transparent 25.5%);
  background-size: 740px 580px, 650px 520px;
}

.property-masthead > .container {
  position: relative;
}

.property-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #6c776f;
  font-size: 12px;
  font-weight: 700;
}

.property-breadcrumbs a:hover {
  color: var(--forest-700);
}

.property-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
  padding: 41px 0 38px;
}

.property-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 15px;
  color: var(--forest-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.property-kicker span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--forest-800);
  color: var(--white);
  letter-spacing: .08em;
}

.property-title-row h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.3vw, 86px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.property-address {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.property-title-facts {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 36px;
  padding-bottom: 7px;
}

.property-title-facts div {
  min-width: 120px;
}

.property-title-facts span,
.property-id,
.property-secondary-cta span,
.property-fact-ribbon dt {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.property-title-facts strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  white-space: nowrap;
}

.property-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(330px, .72fr);
  gap: 22px;
  align-items: stretch;
}

.property-gallery {
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(210px, .68fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.property-main-image {
  position: relative;
  grid-row: 1 / 3;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #17231c;
  color: var(--white);
}

.property-main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 58%, rgba(5, 22, 17, .72));
}

.property-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.property-main-image:hover img {
  transform: scale(1.025);
}

.image-label {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gallery-count {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  background: rgba(7,39,31,.76);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.gallery-count b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--forest-950);
  font-size: 10px;
}

.property-gallery-tile {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 0;
  border-radius: 6px;
  background: var(--forest-900);
  color: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(7,39,31,.18);
}

.property-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(5,22,17,.78));
}

.property-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.property-gallery-tile:hover img {
  transform: scale(1.04);
}

.property-photo-tile > span {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: block;
}

.property-photo-tile small {
  display: block;
  margin-bottom: 6px;
  color: #e3ebe4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.property-photo-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.property-action-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 6px;
  background: var(--forest-950);
  color: var(--white);
  box-shadow: 0 22px 65px rgba(7, 39, 31, .18);
}

.property-action-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.property-action-card .property-id {
  margin: 0;
  color: var(--sage-300);
}

.property-live-dot {
  color: #c9e6bd;
  font-size: 11px;
  font-weight: 850;
}

.property-live-dot i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #8fc77e;
  box-shadow: 0 0 0 4px rgba(143,199,126,.12);
}

.property-action-card h2 {
  margin: 35px 0 12px;
  font-family: var(--font-display);
  font-size: 41px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1;
}

.property-action-card > p {
  margin: 0 0 24px;
  color: #bdc9c0;
  font-size: 14px;
  line-height: 1.65;
}

.property-primary-cta {
  width: 100%;
  margin-bottom: 16px;
}

.property-lines-cta {
  width: 100%;
  margin-bottom: 10px;
  background: var(--gold);
  color: var(--forest-950);
}

.property-lines-cta:hover {
  background: #e1b95f;
}

.property-secondary-cta {
  display: block;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}

.property-secondary-cta span {
  margin-bottom: 2px;
  color: #83958a;
}

.property-secondary-cta strong {
  color: var(--white);
  font-size: 13px;
}

.property-owned-note {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 13px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.property-owned-note > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 15px;
}

.property-owned-note p {
  margin: 0;
  color: #93a299;
  font-size: 11px;
  line-height: 1.45;
}

.property-owned-note strong {
  display: block;
  color: var(--white);
  font-size: 12px;
}

.property-fact-ribbon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 22px 0 0;
  border-top: 1px solid #cfd6cf;
}

.property-fact-ribbon div {
  padding: 25px 23px 28px;
  border-right: 1px solid #cfd6cf;
}

.property-fact-ribbon div:first-child {
  padding-left: 0;
}

.property-fact-ribbon div:last-child {
  border-right: 0;
}

.property-fact-ribbon dt {
  margin-bottom: 5px;
}

.property-fact-ribbon dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.property-anchor-nav {
  position: sticky;
  top: 84px;
  z-index: 90;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251,250,246,.96);
  backdrop-filter: blur(14px);
}

.property-anchor-nav .container {
  display: flex;
  justify-content: center;
  gap: 38px;
  overflow-x: auto;
}

.property-anchor-nav a {
  flex: 0 0 auto;
  padding: 16px 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.property-anchor-nav a:hover {
  border-color: var(--forest-700);
  color: var(--forest-700);
}

.property-overview,
.property-photo-section,
.property-diligence,
.property-documents,
.property-nearby,
.related-section {
  scroll-margin-top: 150px;
  padding: 110px 0;
}

.property-overview {
  background: var(--white);
}

.property-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 100px;
}

.property-copy-grid h2,
.property-section-heading h2,
.property-final-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(43px, 5vw, 67px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.property-long-copy p {
  margin: 0 0 21px;
  color: #59645d;
  font-size: 16px;
  line-height: 1.82;
}

.property-long-copy .property-intro {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.5;
}

.property-photo-section {
  background: var(--forest-950);
  color: var(--white);
}

.property-photo-heading .eyebrow {
  color: var(--gold-light);
}

.property-photo-heading > p {
  color: #cbd8ce;
}

.property-photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 230px;
  gap: 12px;
}

.property-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #14271f;
  color: var(--white);
}

.property-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 48%, rgba(4,18,14,.78));
}

.property-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.property-photo-card:hover img {
  transform: scale(1.035);
}

.property-photo-card > span {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  left: 22px;
}

.property-photo-card strong,
.property-photo-card small {
  display: block;
}

.property-photo-card strong {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
}

.property-photo-card small {
  color: #dce6de;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.property-photo-card-1 {
  grid-column: span 7;
  grid-row: span 2;
}

.property-photo-card-2,
.property-photo-card-3 {
  grid-column: span 5;
}

.property-photo-card-4,
.property-photo-card-5,
.property-photo-card-6 {
  grid-column: span 4;
}

.property-photo-note {
  max-width: 800px;
  margin: 22px 0 0;
  color: #bdcbc1;
  font-size: 11px;
  line-height: 1.65;
}

.property-photo-note strong {
  color: var(--gold-light);
}

.property-diligence {
  background: var(--cream);
}

.property-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.property-section-heading > p {
  max-width: 370px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
}

.diligence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cdd3cc;
  border-bottom: 1px solid #cdd3cc;
}

.diligence-grid article {
  min-height: 460px;
  padding: 32px 34px;
  border-right: 1px solid #cdd3cc;
}

.diligence-grid article:last-child {
  border-right: 0;
}

.diligence-number {
  color: var(--forest-700);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
}

.diligence-grid h3 {
  margin: 52px 0 25px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}

.diligence-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diligence-grid li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-top: 1px solid rgba(18,70,54,.11);
  color: #4f5c54;
  font-size: 13px;
}

.diligence-grid li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.parcel-line {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 20px;
  align-items: center;
  padding-top: 25px;
  color: var(--muted);
  font-size: 11px;
}

.parcel-line span:first-child {
  color: var(--forest-700);
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.parcel-line strong {
  color: var(--ink);
  font-size: 12px;
}

.parcel-line span:last-child {
  text-align: right;
}

.property-documents {
  background: var(--white);
}

.property-lines-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  gap: 70px;
  margin-bottom: 22px;
  padding: 54px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--forest-800);
  color: var(--white);
}

.property-lines-feature::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 145px rgba(255,255,255,.025);
  pointer-events: none;
}

.property-lines-intro,
.property-lines-steps,
.property-lines-note {
  position: relative;
  z-index: 1;
}

.property-lines-intro .eyebrow { color: var(--gold-light); }
.property-lines-intro h3 { max-width: 600px; margin: 0; font-family: var(--font-display); font-size: clamp(39px, 4vw, 57px); font-weight: 500; letter-spacing: -.025em; line-height: 1.02; }
.property-lines-intro > p:not(.eyebrow) { max-width: 620px; margin: 22px 0 28px; color: #d3ded5; font-size: 15px; line-height: 1.72; }
.property-lines-intro .button { width: fit-content; background: var(--gold); color: var(--forest-950); }

.property-lines-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.property-lines-steps li { display: grid; grid-template-columns: 43px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.property-lines-steps li > span { color: var(--gold-light); font-family: var(--font-display); font-size: 21px; font-style: italic; }
.property-lines-steps strong { display: block; margin-bottom: 5px; font-size: 13px; }
.property-lines-steps p { margin: 0; color: #b9c9bd; font-size: 12px; line-height: 1.55; }
.property-lines-note { grid-column: 1 / 3; margin: -30px 0 0; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); color: #9fb1a4; font-size: 10px; line-height: 1.5; }

.property-aerial-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--forest-950);
  color: var(--white);
}

.property-aerial-card figure {
  min-height: 430px;
  margin: 0;
  background: #d7ddcf;
}

.property-aerial-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.property-aerial-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.property-aerial-card .eyebrow {
  color: var(--gold-light);
}

.property-aerial-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 39px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.07;
}

.property-aerial-card > div > p:not(.eyebrow) {
  margin: 0 0 25px;
  color: #ccd7ce;
  font-size: 13px;
  line-height: 1.75;
}

.property-aerial-card a {
  align-self: start;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.document-card {
  min-height: 215px;
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  transition: transform 190ms ease, background 190ms ease, color 190ms ease;
}

.document-card:hover {
  transform: translateY(-4px);
  background: var(--forest-900);
  color: var(--white);
}

.document-index {
  color: var(--forest-700);
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
}

.document-card:hover .document-index {
  color: var(--gold-light);
}

.document-card p {
  margin: 1px 0 32px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.document-card:hover p,
.document-card:hover div > span {
  color: var(--sage-300);
}

.document-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

.document-card div > span {
  color: var(--muted);
  font-size: 11px;
}

.document-card b {
  font-size: 18px;
}

.property-location-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  margin-top: 75px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--forest-950);
  color: var(--white);
}

.location-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background-color: #d7dfd2;
  background-image:
    linear-gradient(28deg, transparent 49%, rgba(255,255,255,.7) 49.3% 50.7%, transparent 51%),
    linear-gradient(-43deg, transparent 49%, rgba(255,255,255,.55) 49.3% 50.7%, transparent 51%),
    radial-gradient(circle at 20% 30%, rgba(52,103,79,.16), transparent 25%),
    radial-gradient(circle at 75% 65%, rgba(52,103,79,.2), transparent 29%);
}

.map-road {
  position: absolute;
  display: block;
  height: 7px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 999px;
  background: #c9aa65;
  transform-origin: left;
}

.map-road-one {
  width: 78%;
  top: 35%;
  left: -5%;
  transform: rotate(21deg);
}

.map-road-two {
  width: 62%;
  top: 69%;
  left: 34%;
  transform: rotate(-34deg);
}

.map-pin {
  position: absolute;
  top: 47%;
  left: 57%;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  background: var(--forest-900);
  box-shadow: 0 8px 22px rgba(8,31,25,.24);
  transform: rotate(-45deg);
}

.map-pin i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.map-city,
.map-coordinate {
  position: absolute;
  padding: 6px 9px;
  border-radius: 3px;
  background: rgba(251,250,246,.9);
  color: var(--forest-950);
  font-size: 10px;
  font-weight: 850;
}

.map-city-jackson { top: 19%; left: 20%; }
.map-city-wellston { right: 12%; bottom: 18%; }
.map-coordinate { bottom: 18px; left: 18px; color: var(--muted); }

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.location-copy .eyebrow {
  color: var(--gold-light);
}

.location-copy h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.08;
}

.location-copy p:not(.eyebrow) {
  margin: 0 0 28px;
  color: var(--sage-300);
  font-size: 14px;
}

.location-copy .button {
  align-self: start;
}

.property-nearby {
  background: var(--forest-900);
  color: var(--white);
}

.property-nearby .eyebrow {
  color: var(--gold-light);
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.nearby-grid div {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 23px;
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.nearby-grid div:nth-child(4n) {
  border-right: 0;
}

.nearby-grid div:nth-child(n+5) {
  border-bottom: 0;
}

.nearby-grid strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 500;
}

.nearby-grid span {
  color: var(--sage-300);
  font-size: 12px;
}

.related-section {
  background: var(--cream);
}

.related-table {
  border-top: 1px solid #cbd1cb;
}

.related-row {
  display: grid;
  grid-template-columns: 1.1fr .8fr .9fr .7fr;
  gap: 20px;
  align-items: center;
  min-height: 68px;
  padding: 0 16px;
  border-bottom: 1px solid #cbd1cb;
  font-size: 13px;
}

.related-head {
  min-height: 48px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.related-row > strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.related-row > a {
  color: var(--forest-700);
  font-weight: 850;
  text-align: right;
}

.related-available,
.related-contract {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-available {
  background: #dcebd7;
  color: #275b35;
}

.related-contract {
  background: #e8e4dc;
  color: #74695b;
}

.property-final-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--forest-800);
  color: var(--white);
}

.property-final-cta .property-contours {
  opacity: .3;
}

.property-final-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 100px;
  align-items: end;
}

.property-final-grid > div:last-child > p {
  margin: 0;
  color: #d7e1d9;
  font-size: 16px;
  line-height: 1.7;
}

.property-final-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.property-final-actions > a:last-child {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 850;
}

.property-footer {
  padding-top: 70px;
}

@media (max-width: 1100px) {
  .property-desktop-nav > a:not(.nav-cta) { display: none; }
  .property-title-row { grid-template-columns: 1fr; gap: 25px; }
  .property-title-facts { justify-content: start; }
  .property-hero-layout { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); }
  .property-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; min-height: 660px; }
  .property-main-image { grid-row: auto; min-height: 450px; }
  .property-gallery-tile { min-height: 95px; }
  .property-gallery-tile strong { max-width: 100%; font-size: 20px; }
  .property-action-card { min-height: 660px; }
  .property-fact-ribbon { grid-template-columns: repeat(3, 1fr); }
  .property-fact-ribbon div:nth-child(3) { border-right: 0; }
  .property-fact-ribbon div:nth-child(n+4) { border-top: 1px solid #cfd6cf; }
  .property-copy-grid { gap: 60px; }
  .property-aerial-card { grid-template-columns: 1fr 350px; }
  .property-lines-feature { gap: 45px; padding: 45px; }
  .property-aerial-card > div { padding: 38px; }
  .document-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .property-desktop-nav { display: none; }
  .property-mobile-menu { position: relative; display: block; }
  .property-mobile-menu summary { padding: 9px 0; font-size: 13px; font-weight: 850; cursor: pointer; }
  .property-mobile-menu nav { position: absolute; z-index: 110; top: 48px; right: 0; width: 230px; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); box-shadow: 0 18px 40px rgba(8,31,25,.16); }
  .property-mobile-menu a { display: block; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 750; }
  .property-mobile-menu a:last-child { border: 0; }
  .property-title-row { padding-top: 34px; }
  .property-title-row h1 { font-size: clamp(53px, 12vw, 72px); }
  .property-hero-layout { grid-template-columns: 1fr; }
  .property-gallery { min-height: 0; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto; }
  .property-main-image { grid-column: 1 / 3; min-height: 510px; }
  .property-gallery-tile { min-height: 145px; }
  .property-action-card { min-height: 520px; }
  .property-fact-ribbon { grid-template-columns: repeat(2, 1fr); }
  .property-fact-ribbon div, .property-fact-ribbon div:first-child { padding-left: 18px; border-top: 1px solid #cfd6cf; }
  .property-fact-ribbon div:nth-child(odd) { border-right: 1px solid #cfd6cf; }
  .property-fact-ribbon div:nth-child(even) { border-right: 0; }
  .property-anchor-nav { top: 72px; }
  .property-anchor-nav .container { justify-content: start; gap: 28px; }
  .property-overview, .property-photo-section, .property-diligence, .property-documents, .property-nearby, .related-section { padding: 80px 0; }
  .property-copy-grid { grid-template-columns: 1fr; gap: 35px; }
  .property-section-heading { align-items: start; flex-direction: column; gap: 25px; }
  .property-photo-grid { grid-auto-rows: 190px; }
  .diligence-grid { grid-template-columns: 1fr; }
  .diligence-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid #cdd3cc; }
  .diligence-grid article:last-child { border-bottom: 0; }
  .diligence-grid h3 { margin-top: 30px; }
  .parcel-line { grid-template-columns: 1fr; }
  .parcel-line span:last-child { text-align: left; }
  .property-aerial-card { grid-template-columns: 1fr; }
  .property-lines-feature { grid-template-columns: 1fr; gap: 38px; }
  .property-lines-note { grid-column: auto; margin-top: -15px; }
  .property-aerial-card figure { min-height: 400px; }
  .property-location-card { grid-template-columns: 1fr; }
  .location-visual { min-height: 400px; }
  .nearby-grid { grid-template-columns: repeat(2, 1fr); }
  .nearby-grid div { border-right: 1px solid rgba(255,255,255,.16) !important; border-bottom: 1px solid rgba(255,255,255,.16) !important; }
  .nearby-grid div:nth-child(2n) { border-right: 0 !important; }
  .nearby-grid div:nth-child(n+7) { border-bottom: 0 !important; }
  .property-final-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 600px) {
  .property-masthead { padding-top: 20px; }
  .property-title-row h1 { font-size: clamp(48px, 15vw, 63px); }
  .property-title-facts { grid-template-columns: 1fr 1fr; gap: 18px; }
  .property-title-facts strong { font-size: 22px; }
  .property-gallery { display: block; }
  .property-main-image { min-height: 390px; }
  .property-gallery-tile { min-height: 128px; margin-top: 10px; }
  .image-label { flex-direction: column; gap: 3px; }
  .property-action-card { min-height: auto; margin-top: 10px; }
  .property-owned-note { margin-top: 20px; }
  .property-fact-ribbon { margin-bottom: 0; }
  .property-anchor-nav { display: none; }
  .property-overview, .property-photo-section, .property-diligence, .property-documents, .property-nearby, .related-section { scroll-margin-top: 80px; padding: 70px 0; }
  .property-copy-grid h2, .property-section-heading h2, .property-final-cta h2 { font-size: clamp(40px, 12vw, 52px); }
  .property-long-copy .property-intro { font-size: 21px; }
  .property-photo-grid {
    grid-template-columns: none;
    grid-template-rows: 340px;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-auto-rows: unset;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .property-photo-card,
  .property-photo-card-1,
  .property-photo-card-2,
  .property-photo-card-3,
  .property-photo-card-4,
  .property-photo-card-5,
  .property-photo-card-6 { grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .property-photo-note { margin-top: 16px; }
  .property-aerial-card figure { min-height: 330px; }
  .property-lines-feature { padding: 34px 25px; }
  .property-lines-intro .button { width: 100%; }
  .property-aerial-card > div { padding: 34px 26px; }
  .property-aerial-card h3 { font-size: 34px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 190px; }
  .property-location-card { margin-top: 50px; }
  .location-visual { min-height: 330px; }
  .location-copy { padding: 34px 26px; }
  .related-row { grid-template-columns: 1fr auto; gap: 8px 20px; padding: 14px 8px; }
  .related-head { display: none; }
  .related-row > span:nth-child(2) { grid-column: 1; }
  .related-row > span:nth-child(3) { grid-column: 2; grid-row: 1; }
  .related-row > a { grid-column: 2; text-align: right; }
  .property-final-cta { padding: 75px 0; }
  .property-final-actions, .property-final-actions .button { width: 100%; }
  .property-mobile-actions {
    position: fixed;
    z-index: 220;
    right: 0;
    bottom: 0;
    left: 0;
    height: 62px;
    display: grid;
    grid-template-columns: .6fr .75fr 1fr 1.35fr;
    background: var(--forest-950);
    color: var(--white);
    box-shadow: 0 -8px 24px rgba(7,31,24,.24);
  }
  .property-mobile-actions a { display: grid; place-items: center; border-right: 1px solid rgba(255,255,255,.14); font-size: 11px; font-weight: 900; }
  .property-mobile-actions a:last-child { border: 0; background: var(--gold); color: var(--forest-950); }
}

.adminPage {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 88% 8%, rgba(212, 169, 79, 0.1), transparent 22rem),
    #f4f1e8;
  color: #17251e;
  --admin-forest: #0a3328;
  --admin-forest-mid: #15513d;
  --admin-cream: #f4f1e8;
  --admin-paper: #fffef9;
  --admin-gold: #d4a94f;
  --admin-line: #d9ded7;
  --admin-muted: #68736d;
  --admin-warn: #9a6418;
  --admin-warn-bg: #fff8e7;
}

.adminPage :global(*) {
  box-sizing: border-box;
}

.adminPage button,
.adminPage input,
.adminPage select,
.adminPage textarea {
  font: inherit;
}

.adminPage button,
.adminPage a,
.adminPage input,
.adminPage select,
.adminPage textarea {
  -webkit-tap-highlight-color: transparent;
}

.adminPage button {
  cursor: pointer;
}

.adminPage button:disabled {
  cursor: not-allowed;
}

.adminPage input,
.adminPage select,
.adminPage textarea {
  width: 100%;
  border: 1px solid #cdd4ce;
  border-radius: 8px;
  background: #fff;
  color: #17251e;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.adminPage input,
.adminPage select {
  min-height: 44px;
  padding: 9px 11px;
}

.adminPage textarea {
  min-height: 96px;
  padding: 11px;
  line-height: 1.55;
  resize: vertical;
}

.adminPage input:hover,
.adminPage select:hover,
.adminPage textarea:hover {
  border-color: #aeb9b1;
}

.adminPage input:focus,
.adminPage select:focus,
.adminPage textarea:focus,
.adminPage button:focus-visible,
.adminPage a:focus-visible {
  outline: 3px solid rgba(212, 169, 79, 0.52);
  outline-offset: 2px;
}

.skipLink {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-160%);
  border-radius: 7px;
  background: #fff;
  padding: 10px 14px;
  color: var(--admin-forest);
  font-weight: 800;
}

.skipLink:focus {
  transform: translateY(0);
}

.adminHeader {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(18px, 3vw, 48px);
  border-top: 5px solid var(--admin-forest);
  border-bottom: 1px solid var(--admin-line);
  background: rgba(255, 254, 249, 0.97);
}

.adminBrand {
  width: 190px;
}

.adminBrand img {
  width: 100%;
  height: auto;
}

.workspaceDivider {
  width: 1px;
  align-self: stretch;
  background: var(--admin-line);
}

.workspaceName {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.workspaceName strong {
  font-size: 14px;
}

.workspaceName span {
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adminIdentity {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--admin-muted);
  font-size: 13px;
  font-weight: 800;
}

.adminIdentity b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--admin-forest);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.pageToolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(18px, 3vw, 48px);
  border-bottom: 1px solid rgba(10, 51, 40, 0.16);
  background: rgba(244, 241, 232, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 9px 28px rgba(14, 43, 33, 0.05);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--admin-forest-mid);
}

.titleLine {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 3px;
}

.titleLine h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.draftBadge,
.importedBadge,
.sourceBadge,
.warningBadge,
.photoCount,
.sourceNote strong,
.documentStatus {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.draftBadge,
.sourceBadge {
  background: #e7ece5;
  color: var(--admin-forest-mid);
}

.importedBadge {
  background: #dff1e6;
  color: #12623d;
}

.warningBadge {
  background: #fff0ca;
  color: #80500d;
}

.photoCount {
  background: #edf0ee;
  color: #405149;
}

.saveState {
  margin: 3px 0 0;
  color: var(--admin-muted);
  font-size: 11px;
}

.toolbarActions,
.documentActions,
.modalFooter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primaryButton,
.secondaryButton,
.smallButton {
  border-radius: 8px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primaryButton {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--admin-forest);
  background: var(--admin-forest);
  padding: 9px 16px;
  color: #fff;
}

.primaryButton span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 3px 7px;
  font-size: 10px;
  text-transform: uppercase;
}

.primaryButton:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--admin-forest-mid);
}

.primaryButton:disabled {
  border-color: #a9b0ab;
  background: #a9b0ab;
  color: #eef0ee;
}

.secondaryButton {
  min-height: 44px;
  border: 1px solid #bec8c0;
  background: #fff;
  padding: 9px 14px;
  color: var(--admin-forest);
}

.secondaryButton:hover,
.smallButton:hover {
  border-color: var(--admin-forest-mid);
  background: #f5f9f5;
}

.smallButton {
  min-height: 36px;
  border: 1px solid #cbd3cc;
  background: #fff;
  padding: 6px 11px;
  color: var(--admin-forest);
  font-size: 12px;
}

.editorShell {
  width: min(1600px, calc(100% - 42px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 214px minmax(620px, 1fr) 330px;
  gap: 22px;
  align-items: start;
  padding: 26px 0 90px;
}

.sectionNav,
.previewRail {
  position: sticky;
  top: 128px;
}

.sectionNav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sectionNav > p {
  margin: 0 0 8px 11px;
  color: var(--admin-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sectionNav > button {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 27px 1fr 5px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 8px 9px;
  color: #52615a;
  text-align: left;
}

.sectionNav > button:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--admin-forest);
}

.sectionNav > button > span:first-child {
  color: #87928c;
  font-family: var(--font-display);
  font-size: 12px;
}

.sectionNav > button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.sectionNav button strong {
  font-size: 12px;
  line-height: 1.25;
}

.sectionNav button small {
  color: #8a958f;
  font-size: 10px;
}

.sectionNav button i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bac2bd;
}

.sectionNav .navActive {
  background: #fff;
  color: var(--admin-forest);
  box-shadow: 0 4px 17px rgba(13, 45, 34, 0.07);
}

.sectionNav .navActive > span:first-child {
  color: var(--admin-gold);
}

.sectionNav .navActive i {
  background: var(--admin-gold);
  box-shadow: 0 0 0 4px rgba(212, 169, 79, 0.17);
}

.legacyNote {
  margin-top: 18px;
  border: 1px solid #d5dcd6;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.52);
  padding: 13px;
}

.legacyNote strong {
  color: var(--admin-forest);
  font-size: 11px;
  text-transform: uppercase;
}

.legacyNote p {
  margin: 4px 0 0;
  color: var(--admin-muted);
  font-size: 10px;
  line-height: 1.5;
}

.editorForm {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.editorSection {
  scroll-margin-top: 128px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: var(--admin-paper);
  padding: clamp(20px, 2.5vw, 30px);
  box-shadow: 0 8px 28px rgba(13, 45, 34, 0.045);
}

.importSection {
  border-top: 4px solid var(--admin-forest-mid);
}

.sectionHeading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.sectionHeading h2 {
  margin: 3px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sectionHeading p,
.repeatableHeading p,
.mapLinkCard p,
.documentActions p,
.finalAction p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 12px;
}

.stepLabel {
  color: var(--admin-forest-mid);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.importCard {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #b8d7c4;
  border-radius: 11px;
  background: #f0f8f2;
  padding: 14px;
}

.fileMark {
  width: 48px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--admin-forest);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.importCard strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.importCard p {
  margin: 4px 0 0;
  color: #5d7165;
  font-size: 11px;
}

.replaceFile {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8c9bd;
  border-radius: 7px;
  background: #fff;
  padding: 7px 11px;
  color: var(--admin-forest);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.replaceFile input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.replaceFile:focus-within {
  outline: 3px solid rgba(212, 169, 79, 0.48);
  outline-offset: 2px;
}

.extractionSummary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: #fff;
}

.extractionSummary div {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11px 14px;
}

.extractionSummary div + div {
  border-left: 1px solid var(--admin-line);
}

.extractionSummary strong {
  color: var(--admin-forest);
  font-size: 11px;
}

.extractionSummary span {
  color: var(--admin-muted);
  font-size: 10px;
}

.reviewHeader,
.repeatableHeading,
.finalAction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reviewHeader {
  margin: 25px 0 10px;
}

.reviewHeader h3,
.repeatableHeading h3 {
  margin: 2px 0 0;
  font-size: 15px;
}

.reviewHeader > span {
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 800;
}

.issueList {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.issueList article {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #ead5a9;
  border-radius: 9px;
  background: var(--admin-warn-bg);
  padding: 11px 12px;
}

.issueList article > span {
  color: var(--admin-warn);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issueList article strong {
  display: block;
  font-size: 11px;
}

.issueList article p {
  margin: 2px 0 0;
  color: #76684e;
  font-size: 10px;
}

.issueList article button {
  min-height: 36px;
  border: 1px solid #d6b87c;
  border-radius: 7px;
  background: #fff;
  padding: 6px 10px;
  color: #75480d;
  font-size: 10px;
  font-weight: 850;
}

.issueList .issueResolved {
  border-color: #bed8c7;
  background: #f0f8f2;
}

.issueList .issueResolved > span,
.issueList .issueResolved button {
  color: #17623e;
}

.issueList .issueResolved button {
  border-color: #bad1c2;
}

.issueList .issueResolved p {
  color: #577063;
}

.formGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 16px;
}

.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fieldWide {
  grid-column: 1 / -1;
}

.fieldLabel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #3f4f47;
  font-size: 11px;
  font-weight: 850;
}

.fieldLabel b {
  border-radius: 999px;
  background: #f0e7cf;
  padding: 2px 6px;
  color: #80550e;
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field small,
.checkboxField small {
  color: var(--admin-muted);
  font-size: 9px;
  line-height: 1.45;
}

.field select[aria-invalid="true"] {
  border-color: #b97825;
  background: #fffaf0;
}

.inputPrefix,
.inputSuffix,
.slugInput {
  display: flex;
  align-items: stretch;
}

.inputPrefix span,
.inputSuffix span,
.slugInput span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cdd4ce;
  background: #f1f3f1;
  color: #59655f;
  font-size: 11px;
  font-weight: 750;
}

.inputPrefix span {
  border-radius: 8px 0 0 8px;
  padding: 0 12px;
}

.inputPrefix input {
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.inputSuffix input {
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.inputSuffix span {
  border-radius: 0 8px 8px 0;
  padding: 0 11px;
}

.checkboxField {
  min-height: 60px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #ead4a4;
  border-radius: 9px;
  background: #fff9ec;
  padding: 11px;
}

.checkboxField input,
.inlineCheck input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  accent-color: var(--admin-forest-mid);
}

.checkboxField span {
  display: flex;
  flex-direction: column;
}

.checkboxField strong {
  font-size: 11px;
}

.coordinateCard {
  display: grid;
  grid-template-columns: minmax(230px, 0.85fr) 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 19px;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
  background: #f7f8f5;
  padding: 14px;
}

.coordinateMap {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 9px;
  background:
    linear-gradient(18deg, transparent 44%, rgba(255, 255, 255, 0.95) 45% 48%, transparent 49%),
    linear-gradient(135deg, rgba(27, 79, 59, 0.9), rgba(103, 140, 87, 0.75)),
    repeating-linear-gradient(70deg, rgba(255,255,255,.08) 0 2px, transparent 2px 16px);
}

.coordinateMap i {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--admin-gold);
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
}

.coordinateMap span {
  position: absolute;
  top: 42%;
  right: 2%;
  transform: rotate(-18deg);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.coordinateMap b {
  position: absolute;
  right: 9px;
  bottom: 9px;
  border-radius: 6px;
  background: rgba(5, 35, 26, 0.82);
  padding: 5px 7px;
  color: #fff;
  font-size: 9px;
  line-height: 1.3;
}

.coordinateCard h3 {
  margin: 8px 0 5px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
}

.coordinateCard p {
  margin: 0 0 10px;
  color: var(--admin-muted);
  font-size: 11px;
}

.coordinateCard a,
.mapLinkCard a,
.documentTable a {
  color: var(--admin-forest-mid);
  font-size: 11px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyFields {
  display: grid;
  gap: 18px;
}

.repeatableHeading {
  margin: 24px 0 10px;
}

.featureList {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featureList label {
  display: grid;
  grid-template-columns: 31px 1fr 92px;
  gap: 8px;
  align-items: center;
}

.featureList label > span {
  color: #8a958e;
  font-family: var(--font-display);
  font-size: 11px;
  text-align: center;
}

.featureList input,
.featureList select {
  min-height: 39px;
  font-size: 11px;
}

.textButton {
  min-height: 40px;
  margin-top: 11px;
  border: 0;
  background: transparent;
  color: var(--admin-forest-mid);
  font-size: 11px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.factGroupGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.factGroupGrid article {
  min-width: 0;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: #f9faf7;
  padding: 13px;
}

.factGroupGrid article > div {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  gap: 7px;
  align-items: center;
  margin-bottom: 12px;
}

.factGroupGrid article > div > span {
  color: var(--admin-gold);
  font-family: var(--font-display);
  font-size: 12px;
}

.factGroupGrid h3 {
  margin: 0;
  font-size: 12px;
}

.factGroupGrid article > div button {
  border: 0;
  background: transparent;
  padding: 3px;
  color: var(--admin-forest-mid);
  font-size: 9px;
  font-weight: 850;
}

.factGroupGrid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.factGroupGrid label span {
  color: var(--admin-muted);
  font-size: 9px;
  font-weight: 800;
}

.factGroupGrid input {
  min-height: 38px;
  font-size: 10px;
}

.parcelCard {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(120px, 0.7fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
  border: 1px solid #cbd5cd;
  border-radius: 10px;
  background: #f3f6f3;
  padding: 13px;
}

.parcelCard > div {
  display: flex;
  flex-direction: column;
}

.parcelCard > div strong {
  margin-top: 2px;
  font-size: 13px;
}

.parcelCard > label:not(.inlineCheck) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--admin-muted);
  font-size: 9px;
  font-weight: 800;
}

.parcelCard input {
  min-height: 38px;
}

.inlineCheck {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  font-size: 10px;
  font-weight: 800;
}

.nearbyTable {
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
}

.nearbyTable > div {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1.4fr 0.5fr 0.5fr;
  align-items: center;
  padding: 7px 12px;
  font-size: 10px;
}

.nearbyTable > div + div {
  border-top: 1px solid #e7ebe7;
}

.nearbyTable > div:nth-child(even) {
  background: #fafbf8;
}

.nearbyTable .nearbyHead {
  background: var(--admin-forest);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mapLinkCard {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) 1.4fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #bfd4c6;
  border-radius: 10px;
  background: #f0f7f2;
  padding: 13px;
}

.mapLinkCard > div {
  display: flex;
  flex-direction: column;
}

.mapLinkCard > div > span {
  color: var(--admin-forest-mid);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.mapLinkCard strong {
  font-size: 11px;
}

.mapLinkCard input {
  min-height: 39px;
  font-size: 9px;
}

.documentTable {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 12px;
}

.documentTable article {
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--admin-line);
  border-radius: 9px;
  background: #fff;
  padding: 10px 12px;
}

.documentFormat {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8ede8;
  color: var(--admin-forest);
  font-size: 9px;
  font-weight: 900;
}

.documentTable article > div {
  min-width: 0;
}

.documentTable small {
  color: var(--admin-muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.documentTable input {
  min-height: 30px;
  margin: 2px 0;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 11px;
  font-weight: 800;
}

.documentTable p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 9px;
}

.documentStatus {
  background: #eef2ef;
  color: #54635b;
  white-space: nowrap;
}

.documentActions {
  margin-top: 13px;
}

.documentActions p {
  margin-left: auto;
  max-width: 250px;
  text-align: right;
}

.missingDocumentCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: center;
  margin: 18px 0 14px;
  border: 1px solid #e5c882;
  border-radius: 11px;
  background: var(--admin-warn-bg);
  padding: 16px;
}

.missingDocumentCard > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.missingDocumentCard > div > span {
  color: var(--admin-warn);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.missingDocumentCard > div > strong {
  color: #493818;
  font-size: 15px;
}

.missingDocumentCard > div > p {
  margin: 0;
  color: #715f3d;
  font-size: 11px;
  line-height: 1.55;
}

.missingDocumentAccepted {
  border-color: #acd0b8;
  background: #f0f8f2;
}

.missingDocumentAccepted > div > span,
.missingDocumentAccepted > div > strong {
  color: var(--admin-forest-mid);
}

.missingDocumentAccepted > div > p {
  color: #526c5c;
}

.missingDocumentDecision {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(91, 103, 92, 0.28);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.84);
  padding: 12px;
  cursor: pointer;
}

.missingDocumentDecision input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--admin-forest-mid);
}

.missingDocumentDecision span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.missingDocumentDecision strong {
  color: var(--admin-forest);
  font-size: 12px;
}

.missingDocumentDecision small {
  color: var(--admin-muted);
  font-size: 10px;
  line-height: 1.4;
}

.photoToolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  border-bottom: 1px solid var(--admin-line);
  padding-bottom: 11px;
}

.photoToolbar > div {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  background: #edf2ee;
  padding: 7px 10px;
  color: var(--admin-forest);
  font-size: 10px;
}

.photoToolbar > div:nth-child(2) {
  background: #f2f0e8;
  color: #71613c;
}

.photoToolbar div span {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-size: 9px;
}

.photoToolbar button {
  margin-left: auto;
}

.photoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photoGrid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: #fff;
}

.photoGrid .coverPhoto {
  border-color: var(--admin-gold);
  box-shadow: 0 0 0 2px rgba(212, 169, 79, 0.2);
}

.photoFrame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe5df;
}

.photoFrame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photoFrame span,
.photoFrame strong {
  position: absolute;
  top: 7px;
  border-radius: 999px;
  padding: 3px 6px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.photoFrame span {
  left: 7px;
  background: rgba(4, 37, 27, 0.8);
  color: #fff;
}

.photoFrame strong {
  right: 7px;
  background: var(--admin-gold);
  color: #1e2b25;
}

.photoMeta {
  min-height: 59px;
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 7px;
  align-items: center;
  padding: 8px;
}

.photoMeta > span {
  color: #87928b;
  font-family: var(--font-display);
  font-size: 11px;
}

.photoMeta > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.photoMeta strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photoMeta small {
  color: var(--admin-muted);
  font-size: 10px;
}

.photoActions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e6ebe7;
}

.photoActions button {
  min-height: 44px;
  border: 0;
  background: #fafbf9;
  color: var(--admin-forest-mid);
  font-size: 10px;
  font-weight: 850;
}

.photoActions button + button {
  border-left: 1px solid #e6ebe7;
}

.photoActions button:hover:not(:disabled) {
  background: #edf4ee;
}

.photoActions button:disabled {
  color: #aeb5b0;
}

.slugInput span {
  border-radius: 8px 0 0 8px;
  padding: 0 10px;
  white-space: nowrap;
}

.slugInput input {
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.publishGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.publishGrid article {
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: #f8f9f6;
  padding: 16px;
}

.publishGrid h3 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
}

.publishGrid ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.publishGrid li {
  position: relative;
  padding-left: 16px;
  color: #5e6b65;
  font-size: 10px;
}

.publishGrid li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--admin-gold);
}

.finalAction {
  margin-top: 13px;
  border-radius: 10px;
  background: var(--admin-forest);
  padding: 14px 16px;
  color: #fff;
}

.finalAction p {
  color: #c9d9d1;
}

.finalAction .primaryButton {
  border-color: var(--admin-gold);
  background: var(--admin-gold);
  color: #1b2a23;
}

.previewRail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.previewCard,
.readinessCard,
.sourceNote {
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 13px;
  background: #fffef9;
  box-shadow: 0 8px 26px rgba(13, 45, 34, 0.06);
}

.previewTopline {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  color: var(--admin-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.previewTopline button {
  border: 0;
  background: transparent;
  padding: 5px;
  color: var(--admin-forest-mid);
  font-size: 9px;
  font-weight: 850;
  text-transform: none;
}

.previewImage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce3dc;
}

.previewImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.previewImage::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(2, 25, 18, 0.58));
}

.previewImage span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  border-radius: 999px;
  background: #e2f5e7;
  padding: 4px 8px;
  color: #175c3b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.previewBody {
  padding: 16px;
}

.previewBody > small {
  color: var(--admin-forest-mid);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.previewBody h2 {
  margin: 5px 0 3px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.previewBody > p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 10px;
}

.previewBody > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 15px 0 12px;
  border-top: 1px solid var(--admin-line);
  border-bottom: 1px solid var(--admin-line);
  padding: 10px 0;
}

.previewBody > div strong:first-child {
  color: var(--admin-forest);
  font-family: var(--font-display);
  font-size: 21px;
}

.previewBody > div strong:last-child {
  font-size: 11px;
}

.previewBody ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.previewBody li {
  position: relative;
  padding-left: 13px;
  color: #536059;
  font-size: 9px;
}

.previewBody li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--admin-gold);
}

.readinessCard {
  padding: 14px;
}

.readinessHeading,
.readinessHeading > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.readinessHeading > div {
  justify-content: flex-start;
}

.readinessHeading span {
  color: var(--admin-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.readinessHeading strong {
  color: var(--admin-forest);
  font-family: var(--font-display);
  font-size: 16px;
}

.progressTrack {
  height: 7px;
  overflow: hidden;
  margin: 10px 0 13px;
  border-radius: 999px;
  background: #e3e7e3;
}

.progressTrack i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--admin-forest-mid), #47a36c);
  transition: width 260ms ease;
}

.readinessCard ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.readinessCard li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: start;
}

.readinessCard li span {
  border-radius: 999px;
  padding: 3px 5px;
  font-size: 8px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.readinessCard li p {
  margin: 0;
  color: #59665f;
  font-size: 9px;
  line-height: 1.35;
}

.readyItem span {
  background: #e0f1e6;
  color: #17603e;
}

.reviewItem span {
  background: #fff0ca;
  color: #81520f;
}

.readinessCard > button {
  width: 100%;
  min-height: 38px;
  margin-top: 13px;
  border: 1px solid #c4cdc6;
  border-radius: 7px;
  background: #f8faf8;
  color: var(--admin-forest);
  font-size: 10px;
  font-weight: 850;
}

.sourceNote {
  padding: 12px;
}

.sourceNote strong {
  background: #e9ede9;
  color: #4d5a53;
}

.sourceNote p {
  margin: 7px 0 0;
  color: var(--admin-muted);
  font-size: 9px;
  line-height: 1.45;
}

.mobileActions {
  display: none;
}

.modalBackdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(4, 28, 21, 0.66);
  padding: 20px;
  backdrop-filter: blur(5px);
}

.reviewModal {
  width: min(690px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 15px;
  background: #fffef9;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.modalHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--admin-line);
  padding: 20px 22px;
}

.modalHeader h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}

.modalHeader > button {
  min-height: 44px;
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  background: #fff;
  padding: 7px 11px;
  color: var(--admin-forest);
  font-size: 12px;
  font-weight: 850;
}

.modalSummary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--admin-line);
}

.modalSummary div {
  display: flex;
  flex-direction: column;
  background: #f7f9f6;
  padding: 13px 18px;
}

.modalSummary span {
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.modalSummary strong {
  margin-top: 3px;
  font-size: 13px;
}

.modalIssues,
.modalReady {
  margin: 20px 22px;
  border: 1px solid #ead4a3;
  border-radius: 10px;
  background: #fff8e9;
  padding: 16px;
}

.modalReady {
  border-color: #bcd7c5;
  background: #f0f8f2;
}

.modalIssues h3,
.modalReady h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.modalReady p {
  margin: 5px 0;
  color: #6f644e;
  font-size: 12px;
}

.modalIssues button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-top: 1px solid rgba(177, 139, 61, 0.24);
  background: transparent;
  padding: 9px 0;
  color: #6f644e;
  text-align: left;
}

.modalIssues button:first-of-type {
  border-top: 0;
}

.modalIssues button span {
  font-size: 12px;
}

.modalIssues button strong {
  flex: none;
  color: var(--admin-forest-mid);
  font-size: 11px;
}

.modalReady p {
  color: #53695c;
}

.modalFooter {
  justify-content: flex-end;
  border-top: 1px solid var(--admin-line);
  padding: 15px 22px;
}

.modalFooter p {
  margin: 0 auto 0 0;
  max-width: 210px;
  color: var(--admin-muted);
  font-size: 11px;
}

@media (max-width: 1280px) {
  .editorShell {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .previewRail {
    position: static;
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sourceNote {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .editorShell {
    width: min(920px, calc(100% - 28px));
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 14px;
  }

  .sectionNav {
    position: sticky;
    top: 102px;
    z-index: 35;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    border: 1px solid var(--admin-line);
    border-radius: 10px;
    background: rgba(255, 254, 249, 0.96);
    padding: 6px;
    box-shadow: 0 7px 20px rgba(13, 45, 34, 0.07);
  }

  .sectionNav > p,
  .legacyNote {
    display: none;
  }

  .sectionNav > button {
    min-width: 138px;
    min-height: 46px;
    grid-template-columns: 22px 1fr;
  }

  .editorSection {
    scroll-margin-top: 168px;
  }

  .sectionNav button i,
  .sectionNav button small {
    display: none;
  }

  .previewRail {
    grid-column: 1;
  }

  .factGroupGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .adminHeader {
    min-height: 58px;
    padding: 8px 16px;
  }

  .adminBrand {
    width: 145px;
  }

  .workspaceName,
  .workspaceDivider,
  .adminIdentity > span {
    display: none;
  }

  .pageToolbar {
    min-height: 92px;
    padding: 12px 16px;
  }

  .titleLine {
    gap: 8px;
  }

  .titleLine h1 {
    font-size: 28px;
  }

  .draftBadge {
    display: none;
  }

  .saveState {
    max-width: 220px;
  }

  .toolbarActions {
    display: none;
  }

  .editorShell {
    width: min(100% - 20px, 680px);
    padding-bottom: 84px;
  }

  .sectionNav {
    top: 92px;
  }

  .sectionNav > button {
    min-width: 120px;
  }

  .editorSection {
    scroll-margin-top: 158px;
    border-radius: 11px;
    padding: 18px 14px;
  }

  .sectionHeading {
    flex-direction: column;
    gap: 8px;
  }

  .importCard {
    grid-template-columns: 44px 1fr;
  }

  .importCard > div:nth-child(2) {
    min-width: 0;
  }

  .replaceFile {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .extractionSummary,
  .previewRail,
  .publishGrid,
  .modalSummary {
    grid-template-columns: 1fr;
  }

  .extractionSummary div + div {
    border-top: 1px solid var(--admin-line);
    border-left: 0;
  }

  .issueList article {
    grid-template-columns: 1fr auto;
  }

  .issueList article > span {
    grid-column: 1 / -1;
  }

  .formGrid {
    grid-template-columns: 1fr;
  }

  .fieldWide {
    grid-column: auto;
  }

  .coordinateCard,
  .mapLinkCard {
    grid-template-columns: 1fr;
  }

  .featureList label {
    grid-template-columns: 26px 1fr;
  }

  .featureList select {
    grid-column: 2;
  }

  .parcelCard {
    grid-template-columns: 1fr 1fr;
  }

  .nearbyTable > div {
    grid-template-columns: 1.3fr 0.5fr;
  }

  .nearbyTable > div span:last-child {
    display: none;
  }

  .documentTable article {
    grid-template-columns: 40px 1fr auto;
  }

  .documentStatus {
    display: none;
  }

  .documentTable article > a {
    grid-column: 2;
  }

  .documentActions {
    flex-wrap: wrap;
  }

  .documentActions p {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .missingDocumentCard {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .photoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photoToolbar {
    flex-wrap: wrap;
  }

  .photoToolbar button {
    width: 100%;
    margin-left: 0;
  }

  .slugInput {
    flex-direction: column;
  }

  .slugInput span,
  .slugInput input {
    border: 1px solid #cdd4ce;
    border-radius: 8px;
  }

  .slugInput span {
    width: fit-content;
    min-height: 30px;
    margin-bottom: 4px;
  }

  .finalAction {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobileActions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 8px;
    border-top: 1px solid var(--admin-line);
    background: rgba(255, 254, 249, 0.97);
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    box-shadow: 0 -10px 28px rgba(13, 45, 34, 0.12);
  }

  .mobileActions button {
    min-height: 46px;
    border: 1px solid var(--admin-forest);
    border-radius: 8px;
    background: #fff;
    color: var(--admin-forest);
    font-weight: 850;
  }

  .mobileActions button:last-child {
    background: var(--admin-forest);
    color: #fff;
  }

  .modalBackdrop {
    align-items: end;
    padding: 0;
  }

  .reviewModal {
    width: 100%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
  }

  .modalFooter {
    flex-wrap: wrap;
  }

  .modalFooter p {
    width: 100%;
    max-width: none;
    margin: 0 0 8px;
  }
}

@media (max-width: 460px) {
  .breadcrumbs {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .reviewHeader,
  .repeatableHeading {
    align-items: flex-start;
    flex-direction: column;
  }

  .photoGrid {
    grid-template-columns: 1fr;
  }

  .parcelCard {
    grid-template-columns: 1fr;
  }

  .documentTable article {
    grid-template-columns: 38px 1fr;
  }

  .documentTable article > a {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adminPage *,
  .adminPage *::before,
  .adminPage *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
