/* ==========================================================================
   Spokane Horse Properties — "Same Ranch, New Barn" redesign mockup
   Design tokens trace back to every era of the site (see workup §6).
   ========================================================================== */

:root {
  /* Color — heritage palette */
  --pine: #1F3A26;        /* 2014–16 forest green */
  --pine-900: #142619;
  --pine-700: #2B4D33;
  --pine-100: #E4ECE3;
  --barn: #5A2A14;        /* 2014–16 brown header */
  --saddle: #8A4B24;
  --brass: #B8962E;       /* 2019–now gold */
  --brass-hover: #C9A73F;
  --brass-100: #F3EAD0;
  --hay: #F6F1E5;         /* 2018 cream */
  --hay-200: #EDE4D0;
  --rail: #FFFFFF;        /* the white fence */
  --stamp: #B3261E;       /* 2016 "SOLD!" banners */
  --ink: #1E1B16;
  --muted: #62594C;
  --line: #E0D5BF;

  --rope: repeating-linear-gradient(115deg, #7a4a25 0 3px, #b08a4a 3px 6px, #dcc48f 6px 8px, #b08a4a 8px 11px);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Rye", Georgia, serif;

  /* Shape */
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(30, 27, 22, .07), 0 3px 8px rgba(30, 27, 22, .06);
  --shadow: 0 6px 18px rgba(30, 27, 22, .10), 0 18px 40px rgba(30, 27, 22, .08);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--hay);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--barn); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--saddle); }
ul.plain { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--pine);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 650;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: #fff; padding: .6rem 1rem; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.icon { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 650 1rem/1 var(--font-body);
  padding: .9rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-hover); color: var(--ink); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-700); color: #fff; }
.btn-ghost { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-ghost:hover { background: var(--pine); color: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--pine); }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Utility bar ---------- */
.utility { background: var(--pine-900); color: #d6dfd5; font-size: .875rem; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.utility a { color: #d6dfd5; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.utility a:hover { color: #fff; }
.utility .grp { display: flex; gap: 1.4rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 241, 229, .97);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 4px; background: var(--rope); opacity: .85; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 86px; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: 1.6rem; line-height: 1;
  color: var(--barn);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  letter-spacing: -.005em;
}
.brand-tag {
  display: block;
  margin-top: .38rem;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--pine);
}

.nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .6rem .8rem; border-radius: 8px;
  color: var(--pine); font-weight: 650; font-size: .98rem; text-decoration: none;
}
.nav a:hover { background: var(--hay-200); color: var(--pine); }
.nav a[aria-current="page"] { background: var(--pine); color: #fff; }
.nav .nav-extra { display: none; }

.header-cta { display: flex; gap: .75rem; align-items: center; }
.phone-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 750; color: var(--barn); text-decoration: none; white-space: nowrap; }
.menu-toggle {
  display: none; align-items: center; gap: .45rem;
  background: var(--pine); color: #fff; border: 0; border-radius: 999px;
  padding: .7rem 1rem; font: 650 .95rem var(--font-body); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: min(82vh, 760px); display: grid; align-items: end; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 38, 25, .55) 0%, rgba(20, 38, 25, .1) 60%),
    linear-gradient(180deg, rgba(20, 38, 25, .05) 0%, rgba(20, 38, 25, .15) 45%, rgba(20, 38, 25, .88) 100%);
}
.hero-content { padding-block: 7rem 2.5rem; }
.script {
  font-family: var(--font-display); font-style: italic; font-weight: 450;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--brass-100);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 0 0 .5rem;
  display: flex; align-items: center; gap: .75rem;
}
.script::before { content: ""; width: 44px; height: 4px; border-radius: 2px; background: var(--rope); }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); margin-bottom: .35em; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: #eef2ea; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.hero-credit {
  position: absolute; right: clamp(1rem, 3vw, 2rem); top: 1.25rem;
  font-size: .82rem; color: #fff; text-decoration: none;
  background: rgba(20, 38, 25, .6); padding: .4rem .75rem; border-radius: 999px;
  display: inline-flex; gap: .4rem; align-items: center;
}
.hero-credit:hover { background: rgba(20, 38, 25, .85); color: #fff; }

.search-panel {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 1.25rem; margin-top: 1.75rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: .9rem; align-items: end;
}
.field label, .field .label {
  display: block; margin-bottom: .35rem;
  font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.field select, .field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .72rem .85rem; border: 1px solid #d6cab1; border-radius: 9px; background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { outline: 3px solid rgba(184, 150, 46, .45); border-color: var(--brass); }
.musts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; border-top: 1px dashed var(--line); padding-top: .9rem; }
.musts .label { margin: 0 .35rem 0 0; }
.chip-toggle { position: relative; }
.chip-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.chip-toggle span {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .85rem; border: 1px solid #d6cab1; border-radius: 999px;
  font-size: .93rem; font-weight: 650; color: var(--pine); background: var(--hay); cursor: pointer;
  transition: background .15s, color .15s;
}
.chip-toggle input:checked + span { background: var(--pine); color: #fff; border-color: var(--pine); }
.chip-toggle input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }

/* ---------- Trust bar ---------- */
.trust { background: var(--pine); color: #e9efe7; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.1rem; }
.trust li { display: flex; align-items: center; gap: .7rem; font-size: .97rem; }
.trust .icon { width: 28px; height: 28px; color: var(--brass); stroke-width: 1.5; }
.trust b { color: #fff; display: block; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.section-alt { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); max-width: 58ch; margin: .5rem 0 0; }
.eyebrow {
  display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem;
  font-size: .78rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--saddle);
}
.eyebrow::before { content: ""; width: 36px; height: 5px; border-radius: 3px; background: var(--rope); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--pine); }
.link-arrow:hover { color: var(--saddle); }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Browse tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: var(--radius-lg);
  color: #fff; text-decoration: none; box-shadow: var(--shadow-sm);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 38, 25, 0) 35%, rgba(20, 38, 25, .85) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.3rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.tile h3 { color: #fff; margin: 0; font-size: 1.45rem; }
.tile small { display: block; font-size: .9rem; opacity: .92; }
.tile .count { background: rgba(255, 255, 255, .92); color: var(--pine); font-weight: 750; font-size: .82rem; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; }

/* ---------- Listing cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 3 / 2; background: var(--hay-200); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  background: var(--pine); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: .38rem .62rem; border-radius: 6px;
}
.badge-reduced { background: var(--brass); color: var(--ink); }
.badge-new { background: #fff; color: var(--pine); }
.fav {
  position: absolute; top: .7rem; right: .7rem; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--barn); border: 0; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .15s;
}
.fav:hover { transform: scale(1.08); }
.fav .icon { width: 20px; height: 20px; }
.fav[aria-pressed="true"] .icon { fill: var(--stamp); stroke: var(--stamp); }
.photo-count {
  position: absolute; bottom: .7rem; right: .7rem; z-index: 2;
  display: inline-flex; gap: .35rem; align-items: center;
  background: rgba(20, 38, 25, .78); color: #fff; font-size: .8rem; font-weight: 600;
  padding: .28rem .6rem; border-radius: 6px;
}
.card-body { padding: 1.1rem 1.25rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; color: var(--barn); line-height: 1.1; }
.price s { font-family: var(--font-body); font-size: .95rem; font-weight: 400; color: var(--muted); margin-left: .45rem; }
.card h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; color: var(--ink); margin: .1rem 0 0; letter-spacing: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--brass); outline-offset: 3px; }
.loc { color: var(--muted); font-size: .95rem; margin: 0; display: flex; gap: .35rem; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); font-size: .92rem; }
.facts li { display: inline-flex; align-items: center; gap: .38rem; }
.facts .icon { width: 17px; height: 17px; color: var(--saddle); }
.card-body .facts { margin-top: .75rem; }

/* SOLD! stamp — straight from the 2016 hand-made banners */
.is-sold .card-media img { filter: grayscale(.55) sepia(.2) brightness(.95); }
.stamp {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%) rotate(-13deg);
  font-family: var(--font-display); font-style: italic; font-weight: 850;
  font-size: 2.7rem; line-height: 1; letter-spacing: .01em;
  color: var(--stamp);
  padding: .12em .5em .18em;
  border: 4px solid var(--stamp); border-radius: 10px;
  outline: 2px solid var(--stamp); outline-offset: -10px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .7);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .06);
  pointer-events: none;
}
.results-note { display: none; align-items: center; gap: 1rem; margin: -0.75rem 0 1.5rem; padding: .8rem 1rem; background: var(--brass-100); border-radius: 10px; font-weight: 600; color: var(--barn); }
.results-note.show { display: flex; }
.results-note button { margin-left: auto; background: none; border: 0; color: var(--pine); font: 700 .95rem var(--font-body); text-decoration: underline; cursor: pointer; }

/* ---------- Seller band ---------- */
.seller { position: relative; overflow: hidden; background: var(--pine); color: #e9efe7; padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(5rem, 9vw, 7rem); }
.seller h2 { color: #fff; }
.seller .eyebrow { color: var(--brass-100); }
.seller-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.checks { display: grid; gap: .65rem; margin: 1.25rem 0 1.75rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .icon { color: var(--brass); margin-top: .25rem; width: 20px; height: 20px; stroke-width: 2.4; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.from-price { font-family: var(--font-display); color: #fff; font-size: 1.15rem; margin: 0 0 1rem; }
.from-price b { font-size: 2.1rem; color: var(--brass); font-weight: 700; }
.fence-edge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='58'%3E%3Crect x='6' y='2' width='9' height='56' rx='1.5' fill='%23F6F1E5'/%3E%3Crect x='6' y='2' width='9' height='3' fill='%23ffffff'/%3E%3Crect x='0' y='12' width='104' height='8' fill='%23F6F1E5'/%3E%3Crect x='0' y='18' width='104' height='2' fill='%23d8ccb2'/%3E%3Crect x='0' y='32' width='104' height='8' fill='%23F6F1E5'/%3E%3Crect x='0' y='38' width='104' height='2' fill='%23d8ccb2'/%3E%3C/svg%3E") repeat-x left bottom;
  opacity: .95;
}
.fence-edge.on-light { filter: drop-shadow(0 1px 0 rgba(0,0,0,.08)); }

/* ---------- Polaroids / scrapbook ---------- */
.polaroid {
  position: relative; margin: 0;
  background: #fff; padding: .6rem .6rem 0;
  box-shadow: var(--shadow);
  transform: rotate(var(--r, -2deg));
  transition: transform .3s ease;
}
.polaroid:hover { transform: rotate(0deg) scale(1.02); z-index: 5; }
.polaroid::before {
  content: ""; position: absolute; top: -11px; left: 50%; width: 96px; height: 24px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: rgba(236, 222, 176, .82);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.polaroid img { width: 100%; }
.polaroid figcaption {
  font-family: var(--font-display); font-style: italic; color: var(--barn);
  text-align: center; padding: .55rem .25rem .75rem; font-size: 1rem;
  font-variation-settings: "SOFT" 100;
}
.polaroid figcaption b { font-family: var(--font-brand); font-style: normal; font-weight: 400; color: var(--pine); margin-right: .35rem; }

.heritage { background: var(--hay-200); position: relative; overflow: hidden; }
.heritage::before { /* subtle paper grain */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(90, 42, 20, .06) 1px, transparent 1px);
  background-size: 6px 6px;
}
.heritage-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.collage { display: grid; gap: 0; padding: 1rem 0; }
.collage .polaroid:nth-child(1) { --r: -2.2deg; margin-right: 4rem; }
.collage .polaroid:nth-child(2) { --r: 1.8deg; margin: -1.2rem 0 0 4rem; }
.collage .polaroid:nth-child(3) { --r: -1deg; margin: -1.2rem 2.5rem 0 1rem; }
.est-badge {
  display: inline-grid; place-items: center; text-align: center;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--pine); color: var(--brass-100);
  box-shadow: 0 0 0 5px var(--hay-200), 0 0 0 9px var(--brass);
  font-family: var(--font-brand); line-height: 1.05; margin-bottom: 1.5rem;
  transform: rotate(-6deg);
}
.est-badge span { font-size: .8rem; letter-spacing: .12em; }
.est-badge strong { font-size: 2rem; font-weight: 400; color: #fff; }

/* ---------- People (specialists) ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.person { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.25rem 1.4rem; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; }
.person img { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; margin-bottom: .9rem; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--brass); }
.person h3 { font-size: 1.15rem; margin: 0 0 .2rem; }
.person .region { font-size: .76rem; font-weight: 800; color: var(--saddle); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .75rem; }
.person p { font-size: .95rem; color: var(--muted); }
.person .btn { margin-top: auto; }

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; }
.post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-body { padding: 1.15rem 1.3rem 1.35rem; }
.post .kicker { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--saddle); }
.post h3 { font-size: 1.3rem; margin: .35rem 0 .45rem; }
.post h3 a { color: var(--pine); text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { color: var(--muted); font-size: .98rem; margin: 0; }
.post-new { background: var(--pine); }
.post-new .post-body { color: #e2e9e1; }
.post-new h3 a { color: #fff; }
.post-new p { color: #cfd9ce; }
.post-new .kicker { color: var(--brass); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; text-decoration: none; display: block; transition: border-color .15s, box-shadow .15s; }
.partner:hover { border-color: var(--brass); box-shadow: var(--shadow-sm); }
.partner b { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 650; color: var(--pine); }
.partner span { font-size: .88rem; color: var(--muted); }
.partner.add { border-style: dashed; background: transparent; }
.partner.add b { color: var(--saddle); }

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; overflow: hidden;
}
.newsletter::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rope); }
.newsletter h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .35rem; }
.newsletter p { color: var(--muted); margin: 0; }
.inline-form { display: flex; gap: .6rem; }
.inline-form input { flex: 1; min-width: 0; font: inherit; padding: .85rem 1rem; border: 1px solid #d6cab1; border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--pine-900); color: #c9d3c8; margin-top: 140px; font-size: .97rem; }
.footer-scene { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 140px; pointer-events: none; }
.footer-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer-scene .fence-edge { bottom: 4px; opacity: .9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-block: 2.5rem 2.25rem; }
.site-footer h4 { font-family: var(--font-body); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a { color: #c9d3c8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: .5rem; }
.site-footer .brand-name { color: var(--brass-100); }
.site-footer .brand-tag { color: #9fb09d; }
.footer-contact { display: grid; gap: .5rem; margin-top: 1.25rem; }
.footer-contact a { display: inline-flex; gap: .5rem; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.2rem 1.5rem; font-size: .87rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; color: #9fb09d; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 120;
  transform: translate(-50%, 160%);
  background: var(--pine); color: #fff; padding: .85rem 1.25rem; border-radius: 12px;
  box-shadow: var(--shadow); transition: transform .3s ease; max-width: min(92vw, 520px); font-weight: 600;
}
.toast.show { transform: translate(-50%, 0); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.crumbs { font-size: .9rem; color: var(--muted); padding-block: 1.25rem .5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: #b3a78f; }
.crumbs a { color: var(--muted); }

/* Listing */
.listing-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin: .75rem 0 1.25rem; }
.listing-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: .4rem 0 .25rem; }
.listing-head .loc { font-size: 1.05rem; }
.listing-head .badge { position: static; display: inline-block; }
.listing-price { text-align: right; }
.listing-price .price { font-size: clamp(2rem, 3.5vw, 2.6rem); }
.listing-actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: .6rem; }
.icon-btn { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); color: var(--pine); border-radius: 999px; padding: .5rem .85rem; font: 650 .9rem var(--font-body); cursor: pointer; }
.icon-btn:hover { border-color: var(--pine); }
.icon-btn[aria-pressed="true"] { background: var(--stamp); border-color: var(--stamp); color: #fff; }

.gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem;
  height: min(64vh, 540px); border-radius: var(--radius-lg); overflow: hidden;
}
.gallery button { position: relative; padding: 0; border: 0; background: var(--hay-200); cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gallery button:hover img { transform: scale(1.03); filter: brightness(1.05); }
.gallery .g-main { grid-row: 1 / 3; }
.gallery .g-more::after {
  content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(20, 38, 25, .58); color: #fff; font: 700 1.1rem var(--font-body);
}

.keyfacts { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin: 1.25rem 0 2.25rem; overflow: hidden; }
.keyfacts div { padding: 1.05rem .75rem; text-align: center; border-right: 1px solid var(--line); }
.keyfacts div:last-child { border-right: 0; }
.keyfacts .icon { width: 22px; height: 22px; color: var(--saddle); margin: 0 auto .3rem; }
.keyfacts strong { display: block; font-family: var(--font-display); font-size: 1.45rem; color: var(--pine); line-height: 1.1; }
.keyfacts span { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 2.5rem; align-items: start; }
.panel { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 1.85rem); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.panel h2 { font-size: 1.55rem; display: flex; align-items: center; gap: .6rem; }
.panel h2 .icon { color: var(--saddle); width: 26px; height: 26px; stroke-width: 1.6; }
.lede { font-family: var(--font-display); font-size: 1.3rem; color: var(--pine); line-height: 1.4; font-weight: 500; }
.facilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.facility { display: flex; gap: .85rem; align-items: flex-start; padding: .95rem; border-radius: 12px; background: var(--hay); }
.facility .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--pine); color: var(--brass-100); display: grid; place-items: center; flex: none; }
.facility .ico .icon { width: 22px; height: 22px; }
.facility b { display: block; color: var(--ink); }
.facility span { font-size: .93rem; color: var(--muted); }
.facility.ask .ico { background: var(--hay-200); color: var(--saddle); }
.facility.ask span { font-style: italic; }
.details-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 2rem; }
.details-list div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding: .5rem 0; }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; font-weight: 650; text-align: right; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { background: var(--pine-100); color: var(--pine); font-weight: 650; font-size: .9rem; padding: .38rem .8rem; border-radius: 999px; }
.map { display: block; width: 100%; aspect-ratio: 16 / 8; border: 0; border-radius: 12px; background: var(--hay-200); }
.note { font-size: .86rem; color: var(--muted); }

.sidebar { position: sticky; top: 112px; }
.agent-top { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.agent-top img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--brass); border: 3px solid #fff; }
.agent-top h3 { margin: 0; font-size: 1.25rem; }
.agent-top p { margin: 0; font-size: .88rem; color: var(--muted); }
.hps-pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--barn); background: var(--brass-100); padding: .2rem .5rem; border-radius: 999px; margin-top: .3rem; }
.contact-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.25rem; }
.contact-actions .btn { padding: .7rem .5rem; font-size: .92rem; }
.form-grid { display: grid; gap: .75rem; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.mobile-bar { display: none; }

/* Page hero (Advertise / Story) */
.page-hero { position: relative; overflow: hidden; background: var(--pine); color: #e6ede4; padding-block: clamp(3.5rem, 7vw, 5rem) clamp(6rem, 10vw, 8rem); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none;
  background: var(--bg) center / cover no-repeat;
  mix-blend-mode: luminosity;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .eyebrow { color: var(--brass-100); }
.page-hero p { font-size: 1.15rem; max-width: 60ch; }

/* Pricing */
.pricing { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: -4.25rem; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); padding: 1.85rem 1.5rem 1.5rem; box-shadow: var(--shadow); border: 2px solid transparent; }
.plan.best { border-color: var(--brass); }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brass); color: var(--ink); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; padding: .32rem .85rem; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-family: var(--font-body); font-size: .9rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--saddle); margin-bottom: .75rem; }
.amount { font-family: var(--font-display); font-weight: 700; font-size: 3.1rem; color: var(--pine); line-height: 1; }
.amount sup { font-size: 1.35rem; position: relative; top: -.15em; margin-right: 2px; vertical-align: top; }
.per { color: var(--muted); font-size: .95rem; margin: .35rem 0 1.1rem; }
.plan ul { display: grid; gap: .5rem; margin: 0 0 1.5rem; font-size: .97rem; }
.plan li { display: flex; gap: .5rem; }
.plan li .icon { color: var(--pine); margin-top: .22rem; width: 17px; height: 17px; stroke-width: 2.4; }
.plan .btn { margin-top: auto; }

.hps-card {
  position: relative; overflow: hidden; margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--barn), #3f1c0c);
  color: #f1e7da; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 2rem; align-items: center;
}
.hps-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--rope); }
.hps-card h3 { color: #fff; font-size: 1.9rem; margin: .3rem 0 .5rem; }
.hps-card .eyebrow { color: var(--brass); }
.hps-card .eyebrow::before { display: none; }
.hps-card .amount { color: var(--brass); }
.hps-card .per { color: #d9c9b6; }
.hps-card ul { display: grid; gap: .45rem; }
.hps-card li { display: flex; gap: .5rem; }
.hps-card li .icon { color: var(--brass); margin-top: .22rem; width: 17px; height: 17px; stroke-width: 2.4; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--pine); color: var(--brass-100); font: 400 1.5rem var(--font-brand);
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--brass); margin-bottom: 1.1rem;
}
.step p { color: var(--muted); margin: 0; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.inc { display: flex; gap: .85rem; align-items: flex-start; background: #fff; padding: 1.15rem; border-radius: 14px; border: 1px solid var(--line); }
.inc .icon { width: 26px; height: 26px; color: var(--saddle); stroke-width: 1.6; }
.inc b { display: block; color: var(--pine); }
.inc span { font-size: .93rem; color: var(--muted); }
.faq { max-width: 860px; }
.faq details { background: #fff; border-radius: 12px; padding: 1.1rem 1.35rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.07rem; color: var(--pine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--saddle); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* Our Story timeline */
.story-intro { text-align: center; max-width: 760px; margin: 0 auto; }
.story-intro .hooves { max-width: 760px; margin: 0 auto 2rem; border-radius: 12px; box-shadow: var(--shadow-sm); }
.timeline { position: relative; max-width: 1040px; margin: 0 auto; padding-block: 1rem; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; border-radius: 3px; background: var(--rope); }
.era { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.era::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--pine); box-shadow: 0 0 0 5px var(--hay), 0 0 0 8px var(--brass);
}
.era:nth-child(even) .era-text { order: 2; }
.era-year { font-family: var(--font-brand); font-size: 2.1rem; color: var(--barn); line-height: 1; margin-bottom: .4rem; }
.era-text h3 { font-size: 1.7rem; }
.era-text p { color: var(--muted); }
.era blockquote { margin: 1rem 0 0; padding-left: 1rem; border-left: 4px solid var(--brass); font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--pine); }
.era-media { display: grid; gap: 1.25rem; }
.era-media .polaroid:nth-child(2) { --r: 1.6deg; margin-left: 2rem; }
.era-now { background: var(--pine); border-radius: var(--radius-lg); padding: 1.5rem; color: #e6ede4; box-shadow: var(--shadow); }
.era-now .brand-name { color: var(--brass-100); font-size: 1.9rem; }
.era-now .brand-tag { color: #9fb09d; }
.mission { text-align: center; max-width: 820px; margin: 0 auto; }
.mission blockquote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--pine); font-style: italic; margin: 0 0 1rem; font-variation-settings: "SOFT" 100; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .header-cta .phone-link span { display: none; }
  .nav a { padding: .55rem .6rem; font-size: .94rem; }
}
@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--hay); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .75rem clamp(1rem, 3vw, 2rem) 1.25rem; display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { padding: .9rem .8rem; font-size: 1.08rem; }
  .nav .nav-extra { display: block; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-panel > .btn { grid-column: 1 / -1; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .tiles, .cards, .posts { grid-template-columns: repeat(2, 1fr); }
  .people, .partners { grid-template-columns: repeat(2, 1fr); }
  .seller-grid, .heritage-grid, .newsletter, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .keyfacts { grid-template-columns: repeat(3, 1fr); }
  .keyfacts div:nth-child(3n) { border-right: 0; }
  .keyfacts div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .pricing { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .hps-card { grid-template-columns: 1fr; }
  .steps, .included { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .gallery .g-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery button:not(.g-main) { aspect-ratio: 3 / 2; }
  .gallery button:nth-child(n+4):not(.g-more) { display: none; }
  .timeline::before { left: 18px; }
  .era { grid-template-columns: 1fr; gap: 1.5rem; padding-left: 3.25rem; }
  .era::before { left: 18px; top: .6rem; margin-top: 0; }
  .era:nth-child(even) .era-text { order: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .utility .hide-sm { display: none; }
  .header-inner { min-height: 72px; gap: .75rem; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.22rem; }
  .brand-tag { font-size: .58rem; letter-spacing: .12em; }
  .header-cta .btn-brass { display: none; }
  .menu-toggle .lbl { display: none; }
  .hero { min-height: auto; }
  .hero-content { padding-block: 5.5rem 1.5rem; }
  .hero-credit { display: none; }
  .search-panel { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr; gap: .75rem; }
  .tiles, .cards, .people, .posts, .partners, .pricing { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 9; }
  .collage .polaroid:nth-child(n) { margin-left: 0; margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .facilities, .details-list { grid-template-columns: 1fr; }
  .keyfacts { grid-template-columns: repeat(2, 1fr); }
  .keyfacts div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
  .keyfacts div:nth-child(2n) { border-right: 0 !important; }
  .listing-price { text-align: left; }
  .listing-actions { justify-content: flex-start; }
  .inline-form { flex-direction: column; }
  .mock-note { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(246, 241, 229, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0, 0, 0, .08);
  }
  .has-mobile-bar { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .utility, .site-header, .site-footer, .mobile-bar, .mock-note, .sidebar form, .fav { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   WordPress pages
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.shp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.saved-count { font-weight: 700; color: var(--brass); }
.section-tight { padding-block: 2.5rem; }

/* Inner page hero */
.page-hero-sm { padding-block: clamp(1.75rem, 4vw, 2.75rem) clamp(4.5rem, 8vw, 5.5rem); }
.page-hero-sm h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: .3em; }
.page-hero .crumbs { padding-top: 0; color: #b9c8b6; }
.page-hero .crumbs a { color: #d6e0d3; }
.page-hero .crumbs li + li::before { color: #8fa58c; }

/* Listing results */
.results-wrap { padding-block: 0 3rem; }
.search-panel.is-compact { margin-top: -3.25rem; position: relative; z-index: 2; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0 1.25rem; }
.results-count { margin: 0; font-weight: 650; color: var(--pine); }
.sort-form { display: flex; align-items: center; gap: .5rem; }
.sort-form label { font-size: .8rem; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.sort-form select { font: inherit; padding: .55rem .8rem; border: 1px solid #d6cab1; border-radius: 9px; background: #fff; }
.results-foot { text-align: center; color: var(--muted); margin: 2.25rem 0 0; }
.empty-state { text-align: center; max-width: 640px; margin: 2rem auto; padding: 2.5rem 1.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.empty-state > .icon { width: 48px; height: 48px; color: var(--saddle); margin: 0 auto 1rem; display: block; }
.empty-state p { color: var(--muted); }
fieldset.musts { border: 0; margin: 0; min-width: 0; }
.musts legend { float: left; margin: .45rem .6rem 0 0; padding: 0; font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card-noimg { display: grid; place-items: center; height: 100%; color: var(--saddle); }
.card-noimg .icon { width: 48px; height: 48px; }

/* Pagination */
.pagination { margin: 2.5rem 0 0; }
.pagination ul { list-style: none; display: flex; justify-content: center; gap: .4rem; padding: 0; margin: 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 999px; background: #fff; color: var(--pine); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-sm); }
.pagination .current { background: var(--pine); color: #fff; }
.pagination a:hover { background: var(--hay-200); }

/* Forms */
.form-notice { padding: .85rem 1rem; border-radius: 10px; font-weight: 600; display: flex; gap: .5rem; align-items: center; }
.form-notice.ok { background: var(--pine-100); color: var(--pine); }
.form-notice.err { background: #fbe9e7; color: var(--stamp); }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Page content */
.page-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 2.5rem; padding-block: 2.5rem 1rem; align-items: start; }
.page-layout.has-aside { grid-template-columns: minmax(0, 1fr) 340px; justify-content: stretch; }
.prose { font-size: 1.08rem; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25rem; border-left: 4px solid var(--brass); font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--pine); }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6rem; text-align: left; vertical-align: top; }
.prose .wp-block-button__link { background: var(--brass); color: var(--ink); border-radius: 999px; padding: .85rem 1.35rem; font-weight: 650; text-decoration: none; }
.prose .callout { background: #fff; border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm); border-left: 5px solid var(--brass); }
.alignleft { float: left; margin: .25rem 1.25rem 1rem 0; }
.alignright { float: right; margin: .25rem 0 1rem 1.25rem; }
.aligncenter { margin-inline: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-figure { margin: 0 0 1.5rem; }
.entry-figure img { width: 100%; border-radius: var(--radius-lg); }
.entry-cta { margin-top: 2.5rem !important; }
.page-aside { display: grid; gap: 1.25rem; position: sticky; top: 112px; }
.page-aside .panel { padding: 1.4rem 1.5rem; margin: 0; }
.aside-title { font-size: 1.2rem; margin-bottom: .6rem; }
.aside-links li { border-bottom: 1px dashed var(--line); }
.aside-links a { display: block; padding: .55rem 0; text-decoration: none; font-weight: 600; color: var(--pine); }
.aside-links a[aria-current="page"] { color: var(--saddle); }
.panel-pine { background: var(--pine); color: #e6ede4; }
.panel-pine .aside-title, .panel-pine h2 { color: #fff; }
.panel-pine a:not(.btn) { color: var(--brass-100); }
.big-phone { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; margin: .25rem 0 .5rem; }
.big-phone a { color: #fff !important; text-decoration: none; }

/* Specialists */
.people-group { margin-bottom: 3rem; }
.person h3 a { color: var(--pine); text-decoration: none; }
.person-initials { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: var(--brass-100); font-family: var(--font-display); font-size: 2rem; flex: none; }
.person .person-initials { width: 108px; height: 108px; margin-bottom: .9rem; }
.person-initials .icon { width: 34px; height: 34px; }
.contact-list { display: grid; gap: .6rem; margin: 0 0 1.25rem; }
.contact-list li { display: flex; gap: .5rem; align-items: flex-start; overflow-wrap: anywhere; }
.contact-list .icon { color: var(--saddle); margin-top: .3rem; }
.hps-card-cta { grid-template-columns: 1.4fr .2fr auto; margin-top: 1rem; }
.hps-card h2 { color: #fff; font-size: 1.9rem; margin: .3rem 0 .5rem; }
.hps-buy { text-align: center; min-width: 200px; }

/* Ranch services */
.partner-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.partner-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.partner-card-media { aspect-ratio: 16 / 10; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.partner-card-media img { width: 100%; height: 100%; object-fit: contain; }
.partner-card-media .icon { width: 48px; height: 48px; color: var(--saddle); }
.partner-card-body { padding: 1.1rem 1.3rem 1.3rem; }
.partner-card h2 { font-size: 1.25rem; margin: 0 0 .25rem; }
.partner-logo img { max-width: 420px; }

/* Listing page */
.listing { padding-bottom: 2rem; }
.gallery { position: relative; }
@media (min-width: 1001px) {
  .gallery-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .gallery-1 .g-main { grid-row: auto; }
  .gallery-2 { grid-template-columns: 2fr 1fr; }
  .gallery-2 button:nth-child(2) { grid-row: 1 / 3; }
  .gallery-3 { grid-template-columns: 2fr 1fr; }
  .gallery-4 { grid-template-columns: 2fr 1fr 1fr; }
  .gallery-4 button:nth-child(4) { grid-column: 2 / 4; }
  .keyfacts { grid-template-columns: repeat(var(--cols, 6), 1fr); }
}
.stamp-lg { font-size: clamp(3rem, 8vw, 5.5rem); }
.stamp-static { position: static; transform: rotate(-10deg); display: inline-block; margin-bottom: 1.5rem; }
.listing-head .badge { margin-bottom: .2rem; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 18, 12, .93); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; z-index: 2; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox .icon { width: 26px; height: 26px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; background: rgba(0, 0, 0, .45); padding: .25rem .75rem; border-radius: 999px; }
.panel .btn-row { margin-top: 1.25rem; }

/* Home extras */
.post-new-alt { background: var(--barn); }
.seller-art { padding: 1rem; }
.seller .polaroid { max-width: 520px; margin-inline: auto; }
.pay-note { display: flex; gap: .5rem; align-items: center; justify-content: center; margin-top: 1rem; }
.plan-name { font-family: var(--font-body); font-size: .9rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--saddle); margin-bottom: .75rem; }
.plan form, .hps-buy form { margin-top: auto; }
.hps-buy form { margin-top: .5rem; }

@media (max-width: 1000px) {
  .page-layout.has-aside { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .partner-cards { grid-template-columns: repeat(2, 1fr); }
  .search-panel.is-compact { margin-top: -2.5rem; }
  .hps-card-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .partner-cards { grid-template-columns: 1fr; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 1rem; transform: none; }
  .big-phone { font-size: 1.6rem; }
  .results-bar { align-items: flex-start; flex-direction: column; }
  .keyfacts { grid-template-columns: repeat(2, 1fr); }
}

/* Header: collapse to the menu button a little earlier so labels never wrap */
.nav a, .brand-tag, .phone-link { white-space: nowrap; }
@media (max-width: 1240px) {
  .brand-tag { letter-spacing: .12em; font-size: .6rem; }
  .header-cta .phone-link span { display: none; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--hay); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .75rem clamp(1rem, 3vw, 2rem) 1.25rem; display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: .2rem; }
  .nav a { padding: .9rem .8rem; font-size: 1.08rem; }
  .nav .nav-extra { display: block; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.12rem; }
}

/* Header fits at laptop widths: phone shows as an icon (the number is in the top bar) */
@media (max-width: 1380px) {
  .header-cta .phone-link span { display: none; }
}
.site-header .wrap { max-width: 1320px; }
@media (max-width: 1380px) {
  .header-cta .phone-link { display: none; }
  .nav a { padding: .55rem .62rem; }
  .brand-name { font-size: 1.45rem; }
  .brand-tag { letter-spacing: .1em; font-size: .6rem; }
}

/* Our Story: 2012 "first listings" card */
.era-card { background: #fff; border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); transform: rotate(-1.2deg); border-top: 6px solid transparent; border-image: var(--rope) 6; }
.era-card-label { display: block; font-family: var(--font-display); font-style: italic; color: var(--barn); font-size: 1.15rem; margin-bottom: .75rem; }
.era-card li { display: flex; gap: .6rem; align-items: center; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.era-card li:last-child { border-bottom: 0; }
.era-card .icon { color: var(--saddle); width: 20px; height: 20px; }
.toast:not(.show) { visibility: hidden; }

/* ==========================================================================
   Self-service advertising: Advertise tabs + advertiser account
   ========================================================================== */
[hidden] { display: none !important; }
.hero-login { margin-top: 1rem; font-size: .95rem; }
.hero-login a { color: var(--brass-100); font-weight: 700; }

/* Agent / Owner tabs on the Advertise page (CSS only). */
.audience { position: relative; margin-top: -5.75rem; }
.seg-tabs { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); position: relative; z-index: 2; margin-bottom: 1.4rem; }
.seg-tabs label { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 750; color: var(--pine); cursor: pointer; transition: background .15s, color .15s; }
.seg-tabs label:hover { background: var(--hay); }
#aud-agent:checked ~ .seg-tabs label[for="aud-agent"],
#aud-owner:checked ~ .seg-tabs label[for="aud-owner"] { background: var(--pine); color: #fff; }
#aud-agent:focus-visible ~ .seg-tabs label[for="aud-agent"],
#aud-owner:focus-visible ~ .seg-tabs label[for="aud-owner"] { outline: 3px solid var(--brass); outline-offset: 2px; }
.aud-panel { display: none; }
#aud-agent:checked ~ .aud-panel-agent,
#aud-owner:checked ~ .aud-panel-owner { display: block; }
.audience .pricing { margin-top: 0; }
.audience .hps-card { margin-top: 2rem; }
.aud-note { margin-top: 1.25rem; text-align: center; }

/* Account shell */
.account-wrap { padding-block: 0 4rem; position: relative; margin-top: -3.5rem; }
.account { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.account > *, .account-grid > *, .account-auth > * { min-width: 0; }
.account .panel { margin-bottom: 0; }
.account .panel h2 { font-size: 1.35rem; margin: 0 0 .85rem; }
.account .form-notice { box-shadow: var(--shadow-sm); }
.account .form-notice p { margin: 0; }
.account .form-notice p + p { margin-top: .35rem; }
.account-nav ul { display: flex; flex-wrap: wrap; gap: .35rem; padding: .35rem; margin: 0; list-style: none; background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm); width: max-content; max-width: 100%; }
.account-nav a { display: block; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--pine); }
.account-nav a:hover { background: var(--hay); }
.account-nav a[aria-current="page"] { background: var(--pine); color: #fff; }
.account-logout a { color: var(--muted); font-weight: 600; }
.account-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; }
.account-auth { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.25rem; align-items: start; }
.account-auth.register-first > :last-child { order: -1; }
.account-banner { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--brass-100); color: var(--barn); border: 1px solid #e3d3a4; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .85rem; }
.panel-head h2 { margin: 0 !important; }
.inline-form { display: inline; margin: 0; }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--pine); flex: none; }
.field.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.field.seg legend { width: 100%; }
.field .note, .field + .note { display: block; margin-top: .35rem; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.back-link { margin: 0; font-weight: 600; }
.plan-name-line { font-size: 1.1rem; }
.plan-status p { margin: .25rem 0; }
.plan-status .btn, .account .panel > .btn { margin-top: .75rem; }

/* My listings */
.my-listings { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.my-listing { display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem; align-items: center; padding: .75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--hay); }
.ml-photo img, .ml-nophoto { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; display: grid; place-items: center; background: var(--hay-200); color: var(--muted); }
.ml-main { min-width: 0; }
.ml-main h3 { margin: .2rem 0 .1rem; font-size: 1.1rem; overflow-wrap: anywhere; }
.ml-main h3 a { text-decoration: none; color: var(--ink); }
.ml-main .note { margin: 0; }
.ml-status { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px; background: var(--hay-200); color: var(--muted); }
.ml-live { background: var(--pine-100); color: var(--pine); }
.ml-sold { background: #fbe9e7; color: var(--stamp); }
.ml-expired { background: var(--brass-100); color: var(--barn); }
.ml-actions { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
.table-wrap { overflow-x: auto; }
.account-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.account-table th, .account-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.account-table th { font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

/* Listing editor */
.listing-form { display: grid; gap: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.label-line { margin: 0 0 .5rem; font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.photo-grid { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .65rem; }
.photo-grid li { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--hay-200); cursor: grab; box-shadow: var(--shadow-sm); }
.photo-grid li:first-child::after { content: "Cover"; position: absolute; left: .4rem; top: .4rem; background: var(--brass); color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 999px; }
.photo-grid li:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .is-dragging { opacity: .45; }
.photo-grid .is-uploading { display: grid; place-items: center; cursor: default; }
.photo-grid .is-uploading img { opacity: .4; }
.photo-progress { width: 70%; height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.photo-progress span { display: block; height: 100%; width: 0; background: var(--pine); transition: width .15s; }
.photo-remove { position: absolute; right: .35rem; top: .35rem; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(20,38,25,.85); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.photo-remove:hover { background: var(--stamp); }
.photo-drop { display: block; position: relative; padding: 1.4rem; border: 2px dashed #d6cab1; border-radius: 12px; text-align: center; background: var(--hay); cursor: pointer; color: var(--muted); }
.photo-drop strong { color: var(--pine); }
.photo-drop.is-over { border-color: var(--pine); background: var(--pine-100); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop:focus-within { outline: 3px solid var(--brass); outline-offset: 2px; }
[data-photo-status].is-error { color: var(--stamp); font-weight: 600; }
.save-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: .9rem 1.1rem; background: rgba(255,255,255,.97); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -6px 18px rgba(30,27,22,.08); }
.save-bar .note { margin: 0; }

/* Package picker */
.plan-current { margin: 0; padding: .85rem 1.1rem; background: var(--pine-100); color: var(--pine); border-radius: var(--radius); }
.plans-form { display: grid; gap: 1.25rem; }
.pricing-select { border: 0; padding: 0; margin: 1rem 0 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pricing-select .plan { cursor: pointer; transition: border-color .15s, transform .15s; }
.pricing-select .plan:hover { transform: translateY(-2px); }
.pricing-select .plan input { position: absolute; opacity: 0; pointer-events: none; }
.pricing-select .plan:has(input:checked), .pricing-select .plan.is-selected { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(31,58,38,.18), var(--shadow); }
.pricing-select .plan:has(input:focus-visible) { outline: 3px solid var(--brass); outline-offset: 3px; }
.plan-pick { margin-top: auto; display: block; text-align: center; padding: .6rem; border-radius: 999px; border: 2px solid var(--line); font-weight: 750; color: var(--muted); }
.plan-pick::before { content: "Choose"; }
.pricing-select .plan:has(input:checked) .plan-pick, .pricing-select .plan.is-selected .plan-pick { background: var(--pine); border-color: var(--pine); color: #fff; }
.pricing-select .plan:has(input:checked) .plan-pick::before, .pricing-select .plan.is-selected .plan-pick::before { content: "\2713  Selected"; }
.ribbon-pine { background: var(--pine); color: #fff; }
.pay-panel { text-align: center; }
.account .pay-panel h2 { justify-content: center; }
.pay-buttons { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 1rem; }
.pay-buttons .btn { min-width: 220px; }
.pay-notes { display: grid; gap: .2rem; margin: 0 0 .75rem; }
.pay-panel .note .icon { vertical-align: -3px; }
.profile-photo { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.profile-photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.hps-pill-plain { background: var(--hay-200); color: var(--muted); }

.account-auth.register-first { grid-template-columns: 1.35fr 1fr; }
.field.seg .chip-toggle { display: inline-flex; margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.field.seg .chip-toggle span { font-size: .95rem; }@media (max-width: 1000px) {
  .account-grid, .account-auth, .account-auth.register-first { grid-template-columns: 1fr; }
  .account-auth > :last-child { order: -1; }
  .account-auth:not(.register-first) > :last-child { order: 0; }
}
@media (max-width: 640px) {
  .audience { margin-top: -4.5rem; }
  .seg-tabs { display: flex; }
  .seg-tabs label { flex: 1; justify-content: center; padding: .65rem .5rem; font-size: .92rem; }
  .form-grid.cols-2, .form-grid .two { grid-template-columns: 1fr; }
  .my-listing { grid-template-columns: 72px 1fr; }
  .ml-photo img, .ml-nophoto { width: 72px; height: 56px; }
  .ml-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .pay-buttons .btn { width: 100%; }
  .account-nav ul { width: 100%; justify-content: space-between; }
  .account-nav a { padding: .55rem .8rem; }
}