/* ============================================================================
   SouthStar Realty — site design v4 (Nov 2026): conventional, editorial, calm.
   Serif headlines with an italic accent, small tracked labels, square corners,
   hairlines, full photos. The colours are the logo's own: forest and deep
   green mountains, a near-black green, the gold star, terracotta "REALTY",
   warm paper. Nothing here follows the scroll position and there is no 3D:
   every effect is a plain fade or slide, so the page stays light.
   Owner rules kept: listing photos are flyers, shown whole (stretched, never
   cropped) with nothing laid over them except "Reserved"; every fact comes
   from the listing.
   ========================================================================== */
:root {
  --paper: #0a2217;
  --ivory: #10301f;
  --sand: #0d2a1c;
  --ink: #edf3ee;
  --ink-2: #bdcbc1;
  --ink-3: #8ea596;
  --line: #1d4230;
  --line-strong: #33604a;
  --line-dark: rgba(255, 255, 255, 0.14);
  --forest: #0e472b;
  --forest-2: #e2cf96;
  --deep: #0b3b24;
  --night: #071a10;
  --gold: #c2a050;
  --gold-2: #c9a54a;
  --gold-soft: #e2cf96;
  --gold-deep: #d9c27a;
  --terra: #9a4c2e;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 2px;
  --shadow: 0 1px 2px rgba(7, 26, 16, 0.05), 0 20px 44px -24px rgba(7, 26, 16, 0.3);
  --shadow-lg: 0 2px 6px rgba(7, 26, 16, 0.05), 0 34px 70px -32px rgba(7, 26, 16, 0.5);
  --container: 1360px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --section: clamp(84px, 10.5vw, 160px);
  --hdr: 84px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  /* what the theme means: heading colour, the fill of a primary/selected control and the text on it */
  --head: #f5f8f4; --accent: #c9a54a; --on-accent: #071a10; --accent-2: #e2cf96; --on-accent-2: #071a10; --accent-text: #e2cf96;
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold-2); color: var(--night); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--gold-soft); }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--night); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
.h-display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; color: var(--head); letter-spacing: -0.012em; }
.h-display { font-size: clamp(3rem, 7vw, 6.8rem); line-height: 0.98; }
.h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; }
.h2 { font-size: clamp(2.2rem, 4.3vw, 3.9rem); line-height: 1.05; }
.h3 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); line-height: 1.15; }
.h-display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
.dark .h-display, .dark .h1, .dark .h2, .dark .h3 { color: #fff; }
.dark .h-display em, .dark .h1 em, .dark .h2 em, .dark .h3 em { color: var(--gold-soft); }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.7; color: var(--ink-2); max-width: 56ch; }
.dark .lead { color: rgba(255, 255, 255, 0.78); }
.muted { color: var(--ink-3); }
.small { font-size: 0.86rem; }

/* the small label borrows the logo's star as its marker */
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 0.72rem/1.3 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-text); }
.kicker::before { content: ""; width: 11px; height: 11px; flex: none; background: var(--gold); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.dark .kicker { color: var(--gold-soft); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--accent); --fg: var(--on-accent); --bd: var(--accent); --hbg: var(--accent-2); --hfg: var(--on-accent-2); --hbd: var(--accent-2);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px;
  border: 1px solid var(--bd); border-radius: var(--radius); background: var(--bg); color: var(--fg);
  font: 500 0.76rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hbg); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--hfg); border-color: var(--hbd); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn .icon { width: 17px; height: 17px; transition: transform 0.45s var(--ease); }
.btn:hover .icon--go { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.7rem; }
.btn--block { width: 100%; }
.btn--gold { --bg: var(--gold-2); --fg: var(--night); --bd: var(--gold-2); --hbg: var(--gold-soft); --hfg: var(--night); --hbd: var(--gold-soft); }
.btn--line { --bg: transparent; --fg: var(--head); --bd: var(--line-strong); --hbg: var(--accent); --hfg: var(--on-accent); --hbd: var(--accent); }
.btn--glass { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.45); --hbg: #fff; --hfg: var(--night); --hbd: #fff; }
.btn--ivory { --bg: var(--ivory); --fg: var(--night); --bd: var(--ivory); --hbg: var(--gold-soft); --hfg: var(--night); --hbd: var(--gold-soft); }

.link { position: relative; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 8px; font: 500 0.74rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--head); white-space: nowrap; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease); }
.link:hover::after { transform: scaleX(0.3); }
.link .icon { width: 15px; height: 15px; transition: transform 0.45s var(--ease); }
.link:hover .icon { transform: translateX(4px); }
.dark .link { color: #fff; }

.icon-btn { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--head); transition: background 0.35s, color 0.35s, border-color 0.35s, opacity 0.3s; }
.icon-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.icon-btn:disabled { opacity: 0.35; pointer-events: none; }

/* ---------- intro (first page of a visit) ---------- */
.curtain { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--night); color: #fff; pointer-events: none; animation: curtain-up 0.9s var(--ease-io) 1.2s forwards; }
.curtain__inner { display: grid; justify-items: center; gap: 26px; }
.curtain__mark { display: flex; align-items: center; gap: 18px; opacity: 0; transform: translateY(12px); animation: rise 0.9s var(--ease) 0.1s forwards; }
.curtain__mark img { width: 92px; }
.curtain__mark .brand__word { font-size: 1.6rem; }
.curtain__mark .brand__name, .curtain__mark .brand__sub { color: #fff; }
.curtain__line { width: 140px; height: 1px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.curtain__line i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: grow 1s var(--ease-io) 0.2s forwards; }
.curtain__place { font: 500 0.66rem/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-soft); opacity: 0; transform: translateY(8px); animation: rise 0.8s var(--ease) 0.5s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes curtain-up { to { transform: translateY(-100%); visibility: hidden; } }
.intro-seen .curtain, .no-js .curtain { display: none; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); background: rgba(8, 28, 18, 0.97); color: var(--head); box-shadow: 0 1px 0 var(--line); transition: background-color 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.55s var(--ease); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
body:not(.has-hero) main { padding-top: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand__mark { width: 60px; height: auto; }
.brand__mark--dark { display: none; }
.brand__word { display: grid; justify-items: center; line-height: 1; font-family: "Archivo", var(--sans); font-size: 1.12rem; font-kerning: none; }
.brand__name { font-weight: 550; font-stretch: 125%; letter-spacing: 0.064em; margin-right: -0.064em; color: var(--head); transition: color 0.45s; }
.brand__sub { margin-top: 0.394em; font-size: 0.711em; font-weight: 800; font-stretch: 92%; letter-spacing: 0.19em; margin-right: -0.19em; color: var(--terra); transition: color 0.45s; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; }
.nav a { position: relative; padding: 10px 0; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hdr__actions { display: flex; align-items: center; gap: 22px; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font: 500 0.84rem/1 var(--sans); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.hdr__phone .icon { width: 16px; height: 16px; color: var(--gold-deep); }
.hdr__phone:hover { color: var(--gold-deep); }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; margin-right: -10px; color: inherit; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform 0.45s var(--ease), top 0.45s var(--ease), right 0.45s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 27px; right: 18px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; right: 11px; transform: rotate(-45deg); }
/* over a hero photo the header starts clear, then turns solid once the page scrolls */
.has-hero .hdr:not(.is-solid), .menu-open .hdr { background: transparent; color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14); }
.has-hero .hdr:not(.is-solid) .brand__name, .menu-open .hdr .brand__name { color: #fff; }
.has-hero .hdr:not(.is-solid) .brand__mark--light, .menu-open .hdr .brand__mark--light { display: none; }
.has-hero .hdr:not(.is-solid) .brand__mark--dark, .menu-open .hdr .brand__mark--dark { display: block; }
.has-hero .hdr:not(.is-solid) .hdr__phone .icon { color: var(--gold-soft); }

.mobile-nav { position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--hdr) + 32px) var(--gutter) 36px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s; }
.menu-open .mobile-nav { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease); }
.menu-open { overflow: hidden; }
.mobile-nav__links { display: grid; gap: 4px; }
.mobile-nav__links a { display: flex; align-items: baseline; gap: 18px; font: 500 clamp(2.3rem, 9vw, 3.4rem)/1.2 var(--serif); opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.mobile-nav__links small { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.2em; color: var(--gold-soft); }
.menu-open .mobile-nav__links a { opacity: 1; transform: none; }
.menu-open .mobile-nav__links a:nth-child(2) { transition-delay: 0.06s; }
.menu-open .mobile-nav__links a:nth-child(3) { transition-delay: 0.12s; }
.menu-open .mobile-nav__links a:nth-child(4) { transition-delay: 0.18s; }
.mobile-nav__foot { display: grid; gap: 12px; }
.mobile-nav__foot p { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; }
@media (max-width: 1180px) { .hdr__phone span { display: none; } }
@media (max-width: 960px) {
  .nav, .hdr__actions .btn, .hdr__phone { display: none; }
  .menu-btn { display: block; }
  .hdr__actions { margin-left: auto; }
}
@media (max-width: 420px) { .brand__mark { width: 52px; } .brand__word { font-size: 1.02rem; } }

/* ---------- home hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; max-height: 1120px; color: #fff; background: var(--night); overflow: hidden; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s var(--ease-io); }
.hero__slide.is-on { opacity: 1; z-index: 2; }
.hero__slide.is-prev { opacity: 1; z-index: 1; transition: none; } /* stays under the incoming photo: no dip to black */
/* graded dark and quiet, like dusk: the photo sets a mood, the words stay in front */
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: saturate(0.9) brightness(0.86); }
.hero__slide.is-on img, .hero__slide.is-prev img { animation: drift 10s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1.01) translate3d(-0.8%, -0.5%, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(7, 26, 16, 0.7) 0%, rgba(7, 26, 16, 0.22) 28%, rgba(7, 26, 16, 0.3) 52%, rgba(7, 26, 16, 0.94) 100%), linear-gradient(90deg, rgba(7, 26, 16, 0.62) 0%, rgba(7, 26, 16, 0.08) 66%); }
.hero__content { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--hdr) + 40px); padding-bottom: clamp(150px, 21vh, 210px); }
.hero__title { font-weight: 400; color: #fff; max-width: 18ch; margin: 24px 0 26px; font-size: clamp(3rem, min(6.6vw, 11vh), 6.8rem); }
.hero__title em { color: var(--gold-soft); }
@media (min-width: 700px) { .hero__title em { white-space: nowrap; } }
.hero__title .line { display: block; overflow: hidden; padding: 0 0.1em 0.16em 0; margin: 0 -0.1em -0.16em 0; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
.hero__lead { max-width: 50ch; color: rgba(255, 255, 255, 0.84); font-size: clamp(1.02rem, 1.25vw, 1.15rem); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__fade { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: 0.4s; }
.is-ready .hero__fade { opacity: 1; transform: none; }
.hero__aside { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(150px, 21vh, 210px); display: grid; gap: 18px; justify-items: end; text-align: right; }
.hero__place { display: inline-flex; align-items: center; gap: 10px; font: 500 0.7rem/1.4 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.88); }
.hero__place .icon { width: 14px; height: 14px; color: var(--gold-soft); }
.hero__place > span { display: grid; gap: 5px; }
.hero__place small { font-size: 0.82em; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.6); transition: color 0.3s; }
.hero__place:hover small { color: #fff; }
.hero__dots { display: flex; align-items: center; gap: 10px; }
.hero__count { font: 500 1.25rem/1 var(--serif); letter-spacing: 0.04em; margin-right: 8px; font-variant-numeric: lining-nums; }
.hero__count small { color: rgba(255, 255, 255, 0.55); font-size: 0.85em; }
.hero__dots button { position: relative; width: 46px; height: 18px; }
.hero__dots button::before, .hero__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: rgba(255, 255, 255, 0.28); }
.hero__dots button::after { background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-on::after { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } .hero--video { background: var(--night) url(../video/hero-poster.jpg) center / cover; } }

/* the lot search, a card that sits across the bottom edge of the photo */
.search { position: relative; z-index: 10; margin-top: -96px; }
.search__card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch; background: var(--ivory); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.search__field { display: grid; gap: 6px; padding: 24px 28px; border-right: 1px solid var(--line); min-width: 0; transition: background 0.3s; }
.search__field:focus-within { background: #fff; }
.search__field label { font: 500 0.66rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.search__field select { appearance: none; -webkit-appearance: none; width: 100%; border: 0; padding: 4px 22px 4px 0; cursor: pointer; text-overflow: ellipsis; font: 500 1.4rem/1.2 var(--serif); font-variant-numeric: lining-nums; color: var(--head); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b3b24' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right center; }
.search__field select:focus-visible { outline: none; }
.search__field option { font-family: var(--sans); font-size: 1rem; }
.search__submit { display: flex; padding: 14px; }
.search__submit .btn { height: 100%; min-height: 64px; padding: 0 34px; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: var(--section); }
.sec--tight { padding-block: clamp(64px, 8vw, 112px); }
.sec--alt { background: var(--sand); }
.dark { background: var(--night); color: rgba(255, 255, 255, 0.78); }
.dark--forest { background: var(--deep); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head__text { display: grid; gap: 22px; max-width: 780px; }
.sec-head__side { display: grid; gap: 18px; justify-items: end; }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head--center .sec-head__text { justify-items: center; }

/* statement */

.since { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: center; width: 100%; max-width: 380px; padding: 22px 0; border-block: 1px solid var(--line); }
.since__num { grid-row: span 2; font: 500 3.2rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--head); }
.since__label { font-weight: 500; line-height: 1.35; color: var(--head); }
.since__sub { font-size: 0.85rem; line-height: 1.35; color: var(--ink-3); }

/* ---------- lot cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(44px, 4.4vw, 68px) clamp(18px, 2.2vw, 32px); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__link { display: flex; flex-direction: column; flex: 1; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); border-radius: var(--radius); isolation: isolate; }
/* owner rule: the whole flyer, stretched into the frame, never cropped */
.card__media > img { width: 100%; height: 100%; object-fit: fill; }
.card__media img.is-broken { opacity: 0; }
.card__note { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 5px 10px; background: rgba(7, 26, 16, 0.76); color: rgba(255, 255, 255, 0.92); font: 500 0.62rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.card__reserved { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 7px 12px; background: var(--terra); color: #fff; font: 500 0.64rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.card__body { position: relative; display: grid; align-content: start; gap: 9px; flex: 1; padding: 22px 2px 0; }
.card__body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease); }
.card__link:hover .card__body::before, .card__link:focus-visible .card__body::before { transform: scaleX(1); }
.card__loc { display: flex; align-items: center; gap: 8px; font: 500 0.68rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.card__loc .icon { width: 14px; height: 14px; color: var(--gold-deep); }
.card__title { font: 500 1.6rem/1.14 var(--serif); font-variant-numeric: lining-nums; color: var(--head); transition: color 0.4s; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card__link:hover .card__title { color: var(--forest-2); }
.card__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: var(--ink-2); }
.card__specs span { display: inline-flex; align-items: center; gap: 6px; }
.card__specs .icon { width: 15px; height: 15px; color: var(--gold-deep); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.card__tags span { padding: 5px 9px; border: 1px solid var(--line-strong); font: 500 0.62rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; margin-top: 16px; border-top: 1px solid var(--line); }
.price { display: grid; gap: 2px; min-width: 0; }
.price strong { font: 500 1.08rem/1.25 var(--sans); letter-spacing: 0.01em; color: var(--head); font-variant-numeric: tabular-nums; }
.price small { font-size: 0.78rem; line-height: 1.3; color: var(--ink-3); }
.card__ask { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font: 500 0.66rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--head); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.card__ask:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.card__ask .icon { width: 14px; height: 14px; }
.sat { position: absolute; inset: 0; overflow: hidden; background: #2f3b30; }
.sat__inner { position: absolute; }
.sat .sat__inner img { position: absolute; width: 256px; height: 256px; max-width: none; object-fit: fill; }
.sat svg { position: absolute; left: 0; top: 0; overflow: visible; }
.sat polygon { fill: rgba(235, 195, 19, 0.16); stroke: #ebc313; stroke-width: 2.5; stroke-linejoin: round; }
.sat circle { fill: #ebc313; stroke: #071a10; stroke-width: 2; }
.skel { aspect-ratio: 4 / 6.5; border-radius: var(--radius); background: linear-gradient(90deg, var(--sand), var(--ivory), var(--sand)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* featured lots: one row to swipe, drag or step through */

/* ---------- kinds of land ---------- */

.kind { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 62vh, 600px); overflow: hidden; isolation: isolate; color: #fff; background: var(--deep); border-radius: var(--radius); }
.kind img { filter: saturate(0.7) brightness(0.9); position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; transition: transform 1.4s var(--ease); }
.kind:hover img { transform: scale(1.05); }
.kind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 16, 0.42) 0%, rgba(7, 26, 16, 0.1) 30%, rgba(7, 26, 16, 0.72) 68%, rgba(7, 26, 16, 0.94) 100%); }
.kind__num { position: absolute; left: clamp(24px, 2.6vw, 36px); top: 26px; font: italic 500 1.2rem/1 var(--serif); color: var(--gold-soft); }
.kind__where { position: absolute; right: clamp(24px, 2.6vw, 36px); top: 28px; font: 500 0.62rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.kind__body { display: grid; gap: 10px; width: 100%; padding: clamp(24px, 2.6vw, 36px); }
.kind__title { font: 500 clamp(1.9rem, 2.6vw, 2.5rem)/1.05 var(--serif); }
.kind__desc { max-width: 34ch; color: rgba(255, 255, 255, 0.82); }
.kind__count { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.24); font: 500 0.7rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.kind__count .icon { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.kind:hover .kind__count .icon { transform: translateX(5px); }

/* ---------- the SouthStar standard ---------- */

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.stat { display: grid; align-content: start; gap: 10px; }
.stat__num { font: 500 clamp(2.4rem, 3.5vw, 3.4rem)/1 var(--serif); font-variant-numeric: lining-nums; color: #fff; white-space: nowrap; }
.stat__num small, .stat__num .cur { font: 400 0.42em/1 var(--sans); color: var(--gold-soft); vertical-align: 0.9em; }
.stat__num small { margin-left: 4px; }
.stat__num .cur { margin-right: 3px; }
.stat__label { font-size: 0.82rem; line-height: 1.45; color: rgba(255, 255, 255, 0.62); }
.stats--light { border-top-color: var(--line); }
.stats--light .stat__num { color: var(--head); }
.stats--light .stat__num small, .stats--light .stat__num .cur { color: var(--gold-deep); }
.stats--light .stat__label { color: var(--ink-3); }
.reasons li { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; padding: clamp(28px, 3vw, 40px) 0; }
.reasons li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-dark); }
.reasons li::after { content: ""; position: absolute; top: 0; left: 0; width: 18%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.15s; }
.reasons li.is-in::after { transform: scaleX(1); }
.reasons__num { grid-row: span 2; font: italic 500 1.5rem/1.2 var(--serif); color: var(--gold); }
.reasons h3 { font: 500 clamp(1.55rem, 2.2vw, 2rem)/1.15 var(--serif); color: #fff; }
.reasons p { grid-column: 2; margin-top: 10px; max-width: 56ch; color: rgba(255, 255, 255, 0.72); }

/* a photo with a line of text across it */
.band { position: relative; display: grid; align-items: end; height: clamp(460px, 86vh, 820px); overflow: hidden; color: #fff; background: var(--night); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--deep) 0%, rgba(11, 59, 36, 0.55) 14%, rgba(7, 26, 16, 0.12) 42%, rgba(7, 26, 16, 0.3) 62%, rgba(7, 26, 16, 0.86) 100%); }
.band__quote { position: relative; z-index: 2; display: grid; gap: 22px; padding-bottom: clamp(48px, 7vw, 96px); }
.band__quote p { max-width: 16ch; font: italic 400 clamp(2.2rem, 4.8vw, 4.4rem)/1.06 var(--serif); color: #fff; }
.band__quote em { color: var(--gold-soft); }

/* ---------- towns ---------- */
.towns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(232px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.towns::-webkit-scrollbar { display: none; }
.town { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4.1; overflow: hidden; isolation: isolate; color: #fff; background: var(--deep); border-radius: var(--radius); scroll-snap-align: start; }
.town img { filter: saturate(0.7) brightness(0.9); position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.town:hover img { transform: scale(1.06); }
.town::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 16, 0.05) 30%, rgba(7, 26, 16, 0.9) 100%); }
.town::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.town:hover::after { transform: scaleX(1); }
.town__txt { display: grid; gap: 8px; width: 100%; padding: 24px 22px; }
.town__count { font: 500 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.town__name { font: 500 clamp(1.7rem, 2.2vw, 2.1rem)/1 var(--serif); }
.town__line { font-size: 0.84rem; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }

/* ---------- maps ---------- */
.mapcard { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #141c18; }
.map { width: 100%; height: clamp(420px, 66vh, 640px); z-index: 0; }
.map-switch { position: absolute; z-index: 500; right: 14px; top: 14px; display: flex; background: var(--ivory); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-switch button { padding: 10px 14px; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.map-switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.map-hint { position: absolute; z-index: 500; left: 14px; bottom: 14px; padding: 8px 12px; background: var(--ivory); border: 1px solid var(--line); font-size: 0.78rem; line-height: 1.2; color: var(--ink-2); pointer-events: none; transition: opacity 0.3s; }
.mapcard.is-active .map-hint--scroll { opacity: 0; }
.leaflet-container { font-family: inherit; background: #141c18; }
.leaflet-control-attribution { font-size: 10px; background: rgba(251, 253, 251, 0.8) !important; }
.leaflet-bar { border-radius: 0 !important; }
.leaflet-bar a { border-radius: 0 !important; color: var(--head) !important; }
.star-pin { filter: drop-shadow(0 2px 3px rgba(7, 26, 16, 0.45)); }
.star-pin svg { width: 100%; height: 100%; transition: transform 0.25s var(--ease); }
.star-pin.is-hot svg { transform: scale(1.45); }
.office-pin { width: 18px; height: 18px; border-radius: 50%; background: var(--terra); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.leaflet-popup-content-wrapper { border-radius: var(--radius); padding: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: 0; width: 248px !important; line-height: 1.45; }
.leaflet-container a.leaflet-popup-close-button { top: 8px; right: 8px; width: 26px; height: 26px; background: rgba(251, 253, 251, 0.94); color: var(--ink); font: 18px/24px system-ui; text-align: center; }
.pop { display: grid; color: var(--ink); }
.pop__img { aspect-ratio: 1; width: 100%; object-fit: fill; background: var(--sand); }
.pop__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.pop__place { font: 500 0.64rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.pop__title { font: 500 1.25rem/1.15 var(--serif); font-variant-numeric: lining-nums; color: var(--head); }
.pop__price { font-weight: 500; color: var(--head); }
.pop__link { margin-top: 8px; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text) !important; }
.leaflet-tooltip.area-tip { padding: 7px 13px; border: 0; border-radius: var(--radius); background: rgba(7, 26, 16, 0.92); color: #fff; font: 500 0.88rem/1.3 var(--sans); white-space: nowrap; box-shadow: 0 4px 14px rgba(7, 26, 16, 0.35); }
.leaflet-tooltip.area-tip::before { border-top-color: rgba(7, 26, 16, 0.92); }

/* ---------- how buying works ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); }
.process__step { position: relative; display: grid; align-content: start; gap: 14px; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.process__step::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) 0.2s; }
.process__step.is-in::before { transform: scaleX(0.3); }
.process__num { font: italic 500 1.5rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold-deep); }
.process__step h3 { font: 500 clamp(1.5rem, 1.9vw, 1.8rem)/1.15 var(--serif); color: var(--head); }
.process__step p { color: var(--ink-2); font-size: 0.96rem; }

/* ---------- book a site visit ---------- */
.book { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 48px clamp(48px, 7vw, 120px); align-items: center; }
.book__text { display: grid; gap: 24px; }
.book__facts { display: grid; margin-top: 8px; border-top: 1px solid var(--line-dark); }
.book__facts li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.86); }
.book__facts .icon { width: 18px; height: 18px; color: var(--gold-soft); }
.book .formcard { color: var(--ink); }

/* ---------- forms ---------- */
.formcard { padding: clamp(24px, 4vw, 44px); background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dark .formcard { border-color: transparent; box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 9px; min-width: 0; }
.field > label, .field__label { font: 500 0.66rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.input, .textarea, .form select { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; font-size: 1rem; color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px; text-overflow: ellipsis; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b3b24' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.input:focus, .textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 71, 43, 0.12); }
.input[aria-invalid="true"] { border-color: #b4462a; }
.form__err { color: #b4462a; font-size: 0.88rem; }
.send-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.send-row .btn { padding: 0 10px; gap: 9px; letter-spacing: 0.14em; }
.form__note { font-size: 0.82rem; line-height: 1.55; color: var(--ink-3); }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); padding: calc(var(--hdr) + clamp(84px, 11vw, 150px)) 0 clamp(56px, 7vw, 96px); }
.phero > img { filter: saturate(0.6) brightness(0.8); position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 16, 0.66) 0%, rgba(7, 26, 16, 0.5) 40%, rgba(7, 26, 16, 0.86) 100%); }
.phero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.phero .h1 { color: #fff; margin-top: 22px; }
.phero .h1 em { color: var(--gold-soft); }
.phero .kicker { color: var(--gold-soft); }
.phero .lead { color: rgba(255, 255, 255, 0.82); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; font: 500 0.66rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.66); }
.crumbs a:hover { color: #fff; }
.crumbs--ink { margin-bottom: 0; color: var(--ink-3); }
.crumbs--ink a:hover { color: var(--head); }

/* ---------- listings: filters and results ---------- */
.toolbar { position: sticky; top: var(--hdr); z-index: 30; background: rgba(8, 28, 18, 0.97); border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; align-items: center; gap: 10px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.toolbar .wrap::-webkit-scrollbar { display: none; }
.sel { position: relative; flex: none; }
.sel select { appearance: none; -webkit-appearance: none; height: 46px; padding: 0 40px 0 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ivory); font-size: 0.92rem; cursor: pointer; transition: border-color 0.25s; }
.sel select:hover { border-color: var(--ink-3); }
.sel::after { content: ""; position: absolute; right: 18px; top: 17px; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
.sel.is-set select { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.sel.is-set::after { border-color: var(--on-accent); }
.toolbar__sep { width: 1px; height: 26px; background: var(--line); flex: none; }
.seg { display: inline-flex; flex: none; margin-left: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ivory); }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.seg .icon { width: 15px; height: 15px; }
.reset { flex: none; color: var(--gold-soft); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 34px 0; color: var(--ink-3); font-size: 0.94rem; }
.meta strong { font: 500 1.5rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--head); margin-right: 4px; }
.notice { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: #f6ead2; color: #6b4a12; font-size: 0.82rem; line-height: 1.35; }
.live { display: inline-flex; align-items: center; gap: 9px; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f9a5f; }
.empty { display: grid; gap: 16px; justify-items: center; padding: 80px 24px; text-align: center; border: 1px solid var(--line-strong); color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(340px, 0.85fr) 1.15fr; gap: 24px; align-items: start; }
.split .map { height: calc(100vh - var(--hdr) - 130px); min-height: 460px; }
.split .mapcard { position: sticky; top: calc(var(--hdr) + 92px); }
.rows { display: grid; }
.row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); transition: background 0.25s; }
.row:last-child { border-bottom: 1px solid var(--line); }
.row:hover { background: var(--ivory); }
.row .card__media { aspect-ratio: 4 / 5; }
.row__body { display: grid; gap: 6px; min-width: 0; }
.row .card__title { font-size: 1.3rem; -webkit-line-clamp: 2; }
.row:hover .card__title { color: var(--forest-2); }
.row .price strong { font-size: 0.98rem; }

/* ---------- lot page ---------- */
.lot-top { padding-top: 34px; }
.lot-head { padding: 26px 0 34px; }
.lot-head .h1 { font-size: clamp(2.3rem, 4.4vw, 4rem); font-variant-numeric: lining-nums; margin-top: 18px; max-width: 22ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--ivory); font: 500 0.66rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.chip .icon { width: 13px; height: 13px; color: var(--gold-deep); }
.chip--dark { background: var(--terra); border-color: var(--terra); color: #fff; }
button.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gallery { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(360px, 62vh, 620px); }
.gallery--one { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery__cell { position: relative; overflow: hidden; background: var(--sand); border-radius: var(--radius); cursor: zoom-in; }
.gallery__cell:first-child { grid-row: span 2; }
.gallery__cell img { width: 100%; height: 100%; object-fit: fill; }
.gallery__more { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; background: rgba(7, 26, 16, 0.82); color: #fff; font: 500 0.64rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.gallery__more .icon { width: 14px; height: 14px; }
.gallery--sat .gallery__cell { cursor: default; }
.lot-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(40px, 5vw, 68px); padding-bottom: var(--section); }
.lot-body { display: grid; gap: clamp(52px, 6vw, 84px); min-width: 0; }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-block: 1px solid var(--line); }
.keyfact { display: grid; gap: 8px; padding: 24px 18px 24px 0; }
.keyfact + .keyfact { padding-left: 22px; border-left: 1px solid var(--line); }
.keyfact .icon { width: 22px; height: 22px; color: var(--gold-deep); margin-bottom: 4px; }
.keyfact span { font: 500 0.64rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.keyfact strong { font: 500 1.4rem/1.15 var(--serif); font-variant-numeric: lining-nums; color: var(--head); }
.block { display: grid; gap: 24px; min-width: 0; }
.block__title { font: 500 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--serif); letter-spacing: -0.01em; color: var(--head); }
.block .sec-head { align-items: center; }
.prose { color: var(--ink-2); white-space: pre-line; max-width: 68ch; }
.feats { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feat__ic { display: grid; place-items: center; width: 24px; height: 28px; color: var(--gold-deep); }
.feat__ic .icon { width: 22px; height: 22px; }
.feat strong { display: block; font-weight: 500; color: var(--head); }
.feat span span { font-size: 0.9rem; line-height: 1.5; color: var(--ink-3); }
.standard { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); column-gap: 36px; }
.standard div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; line-height: 1.55; color: var(--ink-2); }
.standard strong { display: block; font: 500 1.3rem/1.2 var(--serif); color: var(--head); margin-bottom: 4px; }
.standard .icon { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 3px; }
.estimator { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ivory); }
.estimator__in { display: grid; gap: 24px; padding: clamp(22px, 3vw, 32px); }
.estimator__out { display: grid; gap: 12px; align-content: center; padding: clamp(22px, 3vw, 32px); background: var(--deep); color: #fff; }
.estimator__out .kicker { color: var(--gold-soft); }
.estimator__total { font: 500 clamp(1.9rem, 3.2vw, 2.6rem)/1.1 var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.estimator__sub { color: rgba(255, 255, 255, 0.68); font-size: 0.9rem; line-height: 1.5; }
.size-input { display: flex; align-items: center; gap: 10px; }
.size-input input { width: 140px; height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.range { width: 100%; accent-color: var(--accent); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font: 500 1.3rem/1.25 var(--serif); color: var(--head); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--gold-deep); transition: transform 0.35s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 22px; max-width: 64ch; color: var(--ink-2); }
.pricecard { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 24px; padding: clamp(24px, 2.4vw, 32px); background: var(--ivory); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pricecard__price { font: 500 clamp(1.7rem, 2.3vw, 2.1rem)/1.15 var(--sans); letter-spacing: -0.02em; color: var(--head); font-variant-numeric: tabular-nums; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.facts div:first-child { border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-3); }
.facts dd { text-align: right; font-weight: 500; color: var(--head); font-variant-numeric: tabular-nums; }
.pricecard__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pricecard__acts .btn { padding: 0 12px; }
.pricecard__acts .btn:first-child { grid-column: 1 / -1; }
.pricecard__note { font-size: 0.82rem; line-height: 1.55; color: var(--ink-3); }

/* ---------- about / contact ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.story__media { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__text { display: grid; gap: 24px; }
.story__text p { color: var(--ink-2); }
.story__text .quote { font: italic 400 clamp(1.8rem, 3vw, 2.7rem)/1.2 var(--serif); color: var(--head); max-width: 26ch; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); }
.value { display: grid; gap: 14px; align-content: start; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.value .icon { width: 26px; height: 26px; color: var(--gold-deep); }
.value h3 { font: 500 1.6rem/1.15 var(--serif); color: var(--head); }
.value p { color: var(--ink-2); font-size: 0.96rem; }
.office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-radius: var(--radius); overflow: hidden; }
.office__text { display: grid; gap: 24px; align-content: start; padding: clamp(32px, 5vw, 72px); }
.office .map { height: 100%; min-height: 440px; }
.info { display: grid; }
.info div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.info div:last-child { border-bottom: 1px solid var(--line-dark); }
.info dt { padding-top: 5px; font: 500 0.64rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.info dd { min-width: 0; overflow-wrap: anywhere; color: rgba(255, 255, 255, 0.86); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.channels { display: grid; border-top: 1px solid var(--line-strong); }
.channel { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background 0.3s, padding 0.45s var(--ease); }
.channel:hover { background: var(--ivory); padding-inline: 14px; }
.channel__ic { grid-row: span 2; color: var(--gold-deep); }
.channel strong { grid-column: 2; font: 500 1.45rem/1.1 var(--serif); color: var(--head); }
.channel > span:last-of-type { grid-column: 2; font-size: 0.9rem; color: var(--ink-3); overflow-wrap: anywhere; }
.channel > .icon { grid-column: 3; grid-row: 1 / span 2; width: 16px; height: 16px; color: var(--ink-3); }
.hours { display: grid; gap: 12px; }
.hours p { color: var(--ink-2); }
.credits { display: grid; gap: 14px; padding-top: 40px; border-top: 1px solid var(--line); }
.credits ul { display: grid; gap: 6px; }
.credits a, .ftr__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.credits a:hover { color: var(--head); }
.ftr__bottom a:hover { color: #fff; }

/* ---------- closing band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 13vw, 190px); text-align: center; }
.cta-band > img { filter: saturate(0.5) brightness(0.75); position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 16, 0.74), rgba(7, 26, 16, 0.84)); }
.cta-band__inner { display: grid; gap: 26px; justify-items: center; }
.cta-band .hero__ctas { justify-content: center; margin-top: 10px; }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: rgba(255, 255, 255, 0.68); padding: clamp(64px, 8vw, 104px) 0 30px; border-top: 1px solid rgba(217, 182, 43, 0.32); font-size: 0.95rem; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); gap: 48px clamp(40px, 7vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.ftr__brand { display: grid; gap: 24px; align-content: start; justify-items: start; max-width: 380px; }
.ftr__brand .brand__mark { width: 96px; }
.ftr__brand .brand__word { font-size: 1.4rem; }
.ftr__brand .brand__name, .ftr__brand .brand__sub { color: #fff; }
.ftr__cols { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 32px; }
.ftr__col h4 { margin-bottom: 20px; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); }
.ftr__col li + li { margin-top: 11px; }
.ftr__col a { transition: color 0.25s; }
.ftr__col a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; transition: border-color 0.3s, background 0.3s, color 0.3s; }
.social a:hover { border-color: var(--gold-2); background: var(--gold-2); color: var(--night); }
.social .icon { width: 18px; height: 18px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; color: rgba(255, 255, 255, 0.46); }

/* ---------- dialogs, toast, floating contact ---------- */
dialog { border: 0; padding: 0; color: inherit; background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(7, 26, 16, 0.78); }
dialog[open] .sheet { animation: sheetin 0.45s var(--ease); }
@keyframes sheetin { from { opacity: 0; transform: translateY(16px); } }
.sheet { width: min(600px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; padding: clamp(24px, 4vw, 40px); background: var(--paper); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.sheet__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 26px; }
.sheet__head h2 { font: 500 2.1rem/1.05 var(--serif); color: var(--head); }
.close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.close:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lightbox { width: 100vw; height: 100vh; }
.lightbox__inner { position: fixed; inset: 0; display: grid; place-items: center; padding: 64px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .close, .lightbox .lb-nav { position: fixed; background: var(--ivory); border: 0; color: var(--head); }
.lightbox .close { top: 16px; right: 16px; }
.lb-nav { top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; }
.lb-nav--prev { left: 16px; }
.lb-nav--next { right: 16px; }
.lightbox__count { position: fixed; top: 26px; left: 24px; font: 500 0.7rem/1 var(--sans); letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.82); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 1000; transform: translate(-50%, 20px); opacity: 0; padding: 14px 20px; background: var(--night); color: #fff; font-size: 0.92rem; box-shadow: var(--shadow-lg); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.fab { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80; display: grid; justify-items: end; gap: 12px; pointer-events: none; }
.fab__toggle, .fab.is-open .fab__panel { pointer-events: auto; }
.fab__toggle { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 1px rgba(217, 182, 43, 0.55), 0 12px 28px rgba(7, 26, 16, 0.36); transition: background 0.3s; }
.fab__toggle:hover { background: var(--accent-2); }
.fab__toggle .icon { width: 24px; height: 24px; transition: transform 0.4s var(--ease), opacity 0.25s; }
.fab__toggle .icon--close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab__toggle .icon--chat { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab__toggle .icon--close { opacity: 1; transform: none; }
.fab__panel { width: min(330px, calc(100vw - 32px)); overflow: hidden; background: var(--ivory); border-radius: var(--radius); box-shadow: var(--shadow-lg); transform-origin: bottom right; transform: translateY(12px); opacity: 0; visibility: hidden; transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.3s; }
.fab.is-open .fab__panel { transform: none; opacity: 1; visibility: visible; }
.fab__head { display: grid; gap: 6px; padding: 22px; background: var(--night); color: #fff; border-top: 3px solid var(--gold); }
.fab__head strong { font: 500 1.6rem/1.1 var(--serif); }
.fab__head span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.fab__links a { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 0.97rem; color: var(--ink); transition: background 0.25s; }
.fab__links > :first-child { border-top: 0; }
.fab__links a:hover { background: var(--sand); }
.fab__links .icon { color: var(--gold-deep); }
.fab__links small { font-size: 0.78rem; color: var(--ink-3); }
.menu-open .fab { display: none; }

/* ---------- reveal: a plain fade and a short rise, once ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.rv.is-in { opacity: 1; transform: none; }
.rv-img { opacity: 0; transition: opacity 1.2s var(--ease); }
.rv-img.is-in { opacity: 1; }
.no-js .rv, .no-js .rv-img, .no-js .hero__fade { opacity: 1; transform: none; }
.no-js .hero__title .line > span { transform: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lot-grid { grid-template-columns: minmax(0, 1fr); }
  .pricecard { position: static; order: -1; }
  .values, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
}
@media (max-width: 960px) {
  :root { --hdr: 72px; }
  .hero__aside { display: none; }
  .hero__content { padding-bottom: 130px; }
  .search { margin-top: -84px; }
  .search__card { grid-template-columns: 1fr 1fr; }
  .search__field { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .search__field:nth-child(2) { border-right: 0; }
  .search__field:nth-child(3) { grid-column: 1 / -1; border-right: 0; }
  .search__submit { grid-column: 1 / -1; padding: 12px; }
  .search__submit .btn { width: 100%; min-height: 56px; }
  .book, .story, .contact, .office, .phero__inner { grid-template-columns: minmax(0, 1fr); }

  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec-head__side { justify-items: start; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .mapcard { position: relative; top: 0; order: -1; }
  .split .map { height: 52vh; min-height: 320px; }
  .ftr__top { grid-template-columns: minmax(0, 1fr); }
  .story__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery__cell { aspect-ratio: 1; }
  .gallery__cell:not(:first-child) { display: none; }
  .gallery__cell:first-child { grid-row: auto; }
  .estimator { grid-template-columns: 1fr; }
  .lightbox__inner { padding: 64px 12px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .towns { grid-auto-columns: 66%; }
}
@media (max-width: 640px) {

  .cards, .values, .process, .feats, .standard, .form__row { grid-template-columns: minmax(0, 1fr); }
  .values, .process { row-gap: 40px; }
  .kind { min-height: 360px; }
  .stats { gap: 16px; }
  .stat__num { font-size: 2.1rem; }
  .reasons li { grid-template-columns: 48px minmax(0, 1fr); }
  .send-row { grid-template-columns: 1fr; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .ftr__cols .ftr__col:last-child { grid-column: 1 / -1; }
  .info div { grid-template-columns: 1fr; gap: 4px; }
  .keyfact + .keyfact { padding-left: 16px; }
  .leaflet-tooltip.area-tip { white-space: normal; width: max-content; max-width: min(260px, 70vw); text-align: center; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .cta-band .hero__ctas { width: 100%; }
}
@media (max-width: 420px) {
  .search__card { grid-template-columns: 1fr; }
  .search__field { border-right: 0; grid-column: auto !important; }
  .pricecard__acts { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .rv, .rv-img, .hero__fade { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__slide img { transform: none; animation: none !important; }
  .curtain { display: none; }
}

.sec.dark--forest:has(+ .band) { padding-bottom: clamp(40px, 5vw, 72px); }

/* ---------- Stitch layout pieces ---------- */

.band--center { align-items: center; text-align: center; }
.band--center .band__quote { justify-items: center; padding-bottom: 0; }
.band--center .band__quote p { max-width: 20ch; }
.band > img { filter: saturate(0.92) brightness(0.9); }
.band::after { background: linear-gradient(180deg, var(--deep) 0%, rgba(11, 59, 36, 0.5) 16%, rgba(7, 26, 16, 0.28) 45%, rgba(7, 26, 16, 0.42) 70%, rgba(243, 247, 242, 0) 100%), linear-gradient(180deg, rgba(7, 26, 16, 0) 70%, rgba(7, 26, 16, 0.5) 100%); }
/* towns as cards: number, name, what the town is, the live count */
.towns { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); overflow: visible; }
.town { aspect-ratio: auto; display: grid; align-content: start; gap: 14px; padding: 26px 24px 22px; color: var(--ink); background: var(--ivory); border: 1px solid var(--line); isolation: auto; transition: border-color 0.35s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.town::before { display: none; }
.town:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.town__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 10px; white-space: nowrap; font: 500 0.62rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.town__count { padding: 6px 9px; background: var(--sand); color: var(--accent-text); }
.town__name { font: 500 clamp(1.8rem, 2.2vw, 2.2rem)/1 var(--serif); color: var(--head); }
.town__line { min-height: 2.9em; font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.town__facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.town__facts span { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; color: var(--ink-3); }
.town__facts b { font-weight: 500; color: var(--head); font-variant-numeric: tabular-nums; }
.town__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font: 500 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.town__go .icon { width: 14px; height: 14px; transition: transform 0.45s var(--ease); }
.town:hover .town__go .icon { transform: translateX(4px); }

@media (max-width: 640px) { .towns { grid-auto-columns: auto; } }

/* ---------- home page, second Stitch structure ---------- */

.own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.own__media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--radius); }
.own__media img { width: 100%; height: 100%; object-fit: cover; }
.own__media figcaption { position: absolute; left: 0; bottom: 0; padding: 9px 14px; background: var(--deep); color: var(--gold-soft); font: 500 0.62rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.own__text { display: grid; gap: 24px; justify-items: start; }
.own__stats { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 4px; padding-top: 0; border-top: 1px solid var(--line); }
.own__stats .stat { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line); }
.own__stats .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.cards--boxed .card { padding: 14px 14px 18px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.35s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease); }
.cards--boxed .card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.cards--boxed .card__body { padding-inline: 6px; }
.cards--boxed .card__foot { margin-inline: 6px; }
.cards--boxed .card__ask { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cards--boxed .card__ask:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent-2); }

.ktile { display: grid; align-content: start; gap: 14px; min-height: 280px; padding: clamp(24px, 2.6vw, 36px); background: linear-gradient(160deg, var(--sand), var(--ivory)); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.35s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease); }
.ktile:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.ktile__count { justify-self: start; padding: 7px 10px; border: 1px solid rgba(226, 207, 150, 0.45); color: var(--gold-soft); font: 500 0.62rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.ktile__title { margin-top: 10px; font: 500 clamp(2rem, 2.8vw, 2.7rem)/1 var(--serif); color: var(--head); }
.ktile__desc { color: var(--ink-2); }
.ktile__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-strong); font-size: 0.9rem; color: var(--ink-3); }
.ktile__foot b { font: 500 1.5rem/1 var(--serif); font-variant-numeric: lining-nums; color: var(--head); margin-left: 4px; }
.ktile__foot .icon { display: grid; width: 38px; height: 38px; padding: 10px; background: var(--accent); color: var(--on-accent); transition: background 0.3s; }
.ktile:hover .ktile__foot .icon { background: var(--accent-2); }
.mapsplit { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr); gap: 14px; align-items: stretch; }
.mapsplit .map { height: 100%; min-height: clamp(440px, 62vh, 620px); }
.maplist { display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); }
.maplist__rows { display: grid; align-content: start; border-top: 1px solid var(--line-dark); }
.maplist__rows a { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); transition: padding 0.4s var(--ease); }
.maplist__rows a:hover { padding-left: 8px; }
.maplist__rows small { font: 500 0.6rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }
.maplist__rows span { font: 500 1.2rem/1.2 var(--serif); font-variant-numeric: lining-nums; color: #fff; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.maplist__rows em { font-style: normal; font-size: 0.84rem; color: rgba(255, 255, 255, 0.66); }
.process--boxed { gap: 14px; }
.process--boxed .process__step { padding: clamp(22px, 2.4vw, 32px); background: var(--ivory); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); }
.process--boxed .process__step::before { display: none; }
.process--boxed .process__num { font-size: 2.2rem; }
.faq__list { max-width: 900px; margin-inline: auto; }
@media (max-width: 1100px) { .mapsplit { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { .own { grid-template-columns: minmax(0, 1fr); } .ktile { min-height: 0; } }

/* ---------- one dark forest-and-gold look, matching the hero ---------- */
.hdr { background: rgba(7, 26, 16, 0.96); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1); }
.brand__mark--light { display: none; }
.brand__mark--dark { display: block; }
.brand__sub { color: #fff; }
.sec { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.sec--alt { background: radial-gradient(1100px 520px at 88% -10%, rgba(201, 165, 74, 0.09), transparent 62%), var(--sand); }

.toast { border: 1px solid rgba(226, 207, 150, 0.35); }
.leaflet-bar a { background: #10301f !important; border-bottom-color: #1d4230 !important; }
.leaflet-bar a:hover { background: #17402b !important; }
.leaflet-control-attribution { background: rgba(7, 26, 16, 0.72) !important; color: rgba(255, 255, 255, 0.62); }
.leaflet-control-attribution a { color: rgba(255, 255, 255, 0.82); }
/* light islands: the search bar, form cards, dialogs and map popups stay light, like the search bar on the hero */
.fab__panel, .leaflet-popup-content-wrapper, .leaflet-popup-tip {
  --paper: #f3f7f2; --ivory: #fbfdfb; --sand: #e3eee4; --ink: #17231c; --ink-2: #44554b; --ink-3: #6f8276; --line: #d3e0d5; --line-strong: #b4c8b8;
  --head: #0b3b24; --accent: #0e472b; --on-accent: #fff; --accent-2: #071a10; --on-accent-2: #fff; --accent-text: #0e472b; --gold-deep: #8f7118; --forest-2: #1b6540;
  color: var(--ink); color-scheme: light;
}

/* ---------- depth: the facet-mesh backdrop, emerald and gold light, glass panels, aerial imagery ----------
   Nothing here moves or follows the scroll: it is all still gradients, lines and photos. */
:root {
  --paper: #071b12; --sand: #0a2418; --ivory: #0e2c1d;
  --line: rgba(226, 207, 150, 0.14); --line-strong: rgba(226, 207, 150, 0.3);
  --edge: rgba(226, 207, 150, 0.18); --edge-hot: rgba(226, 207, 150, 0.62);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
}
/* The backdrop is the low-poly facet mesh of the SouthStar Realty website (assets/img/facets.svg, copied from that
   project's public/patterns): one sheet the size of the screen that stays put while the page scrolls over it. It is a
   fixed layer of its own, so scrolling never repaints it. Sections are clear or lightly tinted so it shows through. */
html { background: #06110c; }
body { background: transparent; }
body::before { content: ""; position: fixed; left: 0; top: 0; z-index: -1; width: 100%; height: 100vh; height: 100lvh; pointer-events: none; background: radial-gradient(ellipse 95% 75% at 100% 100%, rgba(2, 12, 8, 0.62), transparent 64%), url("../img/facets.svg") center / cover no-repeat; }
.sec { border-top: 0; background: none; }
.sec::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 165, 74, 0.5) 18%, rgba(201, 165, 74, 0.5) 82%, transparent); pointer-events: none; }
.sec--alt { background: radial-gradient(900px 520px at 90% -8%, rgba(201, 165, 74, 0.11), transparent 60%), rgba(255, 255, 255, 0.026); }
.sec.dark { background: radial-gradient(900px 600px at 100% 0%, rgba(201, 165, 74, 0.1), transparent 60%), rgba(2, 10, 6, 0.5); }
.ftr { position: relative; overflow: hidden; background: linear-gradient(178deg, #0d2419 0%, #071a11 100%); }
.ftr::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("../img/facets.svg") center bottom / cover no-repeat; opacity: 0.75; }
.ftr > .wrap { position: relative; z-index: 1; }
.search + .sec { padding-top: clamp(56px, 7vw, 100px); }
.search + .sec::before { display: none; }

/* the italic accent in a headline is brushed gold */
.h1 em, .h2 em, .h3 em { background: linear-gradient(100deg, #f3e6b8 0%, #c9a54a 48%, #ead9a2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 0.14em 0.08em 0.08em; margin: 0 -0.08em -0.08em -0.08em; }

/* panels: dark glass with a fine gold edge */
.cards--boxed .card, .formcard, .dark .formcard, .sheet, .estimator, .value { background: var(--glass), #0b2619; border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -36px rgba(0, 0, 0, 0.78); }
.cards--boxed .card:hover { border-color: var(--edge-hot); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 36px 70px -34px rgba(0, 0, 0, 0.9); }
.formcard, .dark .formcard, .sheet { border-top: 2px solid var(--gold); }
.value { padding: clamp(22px, 2.4vw, 30px); border-top: 2px solid var(--gold); }
.process--boxed .process__step, .pricecard { background: var(--glass), #0b2619; border-left-color: var(--edge); border-right-color: var(--edge); border-bottom-color: var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -36px rgba(0, 0, 0, 0.78); }
.process--boxed .process__num { font-size: 3rem; background: linear-gradient(100deg, #f3e6b8, #c9a54a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.1em; }
.own__media { outline: 1px solid rgba(201, 165, 74, 0.5); outline-offset: 12px; }

/* forms sit on the dark glass too */
.input, .textarea, .form select { background-color: rgba(4, 16, 10, 0.55); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.form select { background: rgba(4, 16, 10, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23e2cf96' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.form select option, .sel select option { background: #0e2c1d; color: #f5f8f4; }
.input::placeholder, .textarea::placeholder { color: rgba(255, 255, 255, 0.38); }
.input:focus, .textarea:focus, .form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 74, 0.18); }
.form__err { color: #f3a98f; }
.input[aria-invalid="true"] { border-color: #f3a98f; }

/* kinds of land: aerial photo behind each tile */
.ktile { position: relative; isolation: isolate; overflow: hidden; align-content: end; min-height: clamp(400px, 56vh, 520px); background: #0b2619; border: 1px solid var(--edge); }
.ktile:hover { border-color: var(--edge-hot); box-shadow: 0 36px 70px -34px rgba(0, 0, 0, 0.9); }
.ktile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ktile:hover > img { transform: scale(1.05); }
.ktile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 23, 15, 0.55) 0%, rgba(6, 23, 15, 0.2) 30%, rgba(6, 23, 15, 0.82) 64%, rgba(6, 23, 15, 0.97) 100%); }
.ktile__count { position: absolute; left: clamp(24px, 2.6vw, 36px); top: clamp(24px, 2.6vw, 36px); background: rgba(6, 23, 15, 0.62); }
.ktile__title { margin-top: 0; color: #fff; }
.ktile__desc { color: rgba(255, 255, 255, 0.82); }
.ktile__foot { margin-top: 6px; border-top-color: rgba(255, 255, 255, 0.24); color: rgba(255, 255, 255, 0.72); }
.ktile__foot b { color: #fff; }

/* towns: each one over an aerial view of the town */
.towns { display: grid; grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; overflow: visible; }
.town { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 0; aspect-ratio: auto; min-height: clamp(430px, 60vh, 520px); padding: 22px; color: #fff; background: #0b2619; border: 1px solid var(--edge); }
.town > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform 1.4s var(--ease); }
.town:hover > img { transform: scale(1.06); }
.town::before { content: ""; display: block; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 23, 15, 0.74) 0%, rgba(6, 23, 15, 0.14) 26%, rgba(6, 23, 15, 0.52) 50%, rgba(6, 23, 15, 0.96) 100%); }
.town:hover { border-color: var(--edge-hot); transform: translateY(-4px); box-shadow: 0 36px 70px -34px rgba(0, 0, 0, 0.9); }
.town--plain { background: radial-gradient(420px 320px at 80% 0%, rgba(201, 165, 74, 0.2), transparent 62%), linear-gradient(160deg, rgba(18, 74, 48, 0.6), rgba(10, 42, 27, 0.25)), url("../img/facets.svg") 40% 30% / 1300px auto no-repeat, #0b2619; }
.town--plain::before { background: linear-gradient(180deg, rgba(6, 23, 15, 0) 40%, rgba(6, 23, 15, 0.6) 100%); }
.town__top { color: rgba(255, 255, 255, 0.8); }
.town__count { background: rgba(6, 23, 15, 0.66); border: 1px solid rgba(226, 207, 150, 0.42); color: var(--gold-soft); }
.town__body { display: grid; gap: 10px; }
.town__name { font-size: clamp(2rem, 2.4vw, 2.4rem); color: #fff; }
.town__line { min-height: 0; color: rgba(255, 255, 255, 0.82); }
.town__facts { margin-top: 6px; border-top-color: rgba(255, 255, 255, 0.2); }
.town__facts span { border-bottom-color: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.68); }
.town__facts b { color: #fff; }
.town__go { color: var(--gold-soft); }
@media (max-width: 760px) {
  .towns { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .town { scroll-snap-align: start; }
  .own__media { outline-offset: 8px; }
}

/* ---------- lot explorer: list on the left, satellite map on the right ---------- */
.explore__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; margin-bottom: clamp(28px, 3vw, 44px); }
.explore__head > div:first-child { display: grid; gap: 18px; max-width: 820px; }
.explore__count { color: var(--ink-2); }
.explore__sort { display: flex; align-items: center; gap: 14px; }
.explore__sort > span:first-child { margin-right: 10px; }
.explore__sort label { font: 500 0.66rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.explore__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.explore__col { display: grid; gap: 14px; min-width: 0; }
.explore__list { position: relative; display: grid; align-content: start; gap: 14px; height: clamp(580px, 88vh, 880px); overflow-y: auto; padding-right: 12px; scrollbar-width: thin; scrollbar-color: rgba(226, 207, 150, 0.45) transparent; }
.explore__list::-webkit-scrollbar { width: 6px; }
.explore__list::-webkit-scrollbar-thumb { background: rgba(226, 207, 150, 0.45); }
.explore__more { display: none; }
.explore__map { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; padding: clamp(16px, 1.6vw, 24px); min-width: 0; background: var(--glass), #0b2619; border: 1px solid var(--edge); border-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -36px rgba(0, 0, 0, 0.78); }
.explore__maphead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.explore__maphead h3 { font: 500 1.6rem/1.1 var(--serif); color: #fff; }
.explore__maphead span { font-size: 0.86rem; color: var(--ink-3); }
.explore__map .mapcard { min-height: 0; }
.explore__map .map { height: 100%; min-height: 420px; }
.explore__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; font-size: 0.84rem; color: var(--ink-2); }
.explore__views { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.lg { display: inline-block; margin-right: 9px; }
.lg--pin { width: 12px; height: 12px; border-radius: 50%; background: #1f7a48; box-shadow: 0 0 0 2px var(--gold-2); vertical-align: -1px; }
.lg--line { width: 20px; border-top: 2px solid #ebc313; vertical-align: 4px; }
.lot-pin { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.42)); }
.lot-pin svg { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; transition: transform 0.25s var(--ease); }
.lot-pin.is-hot svg { transform: scale(1.3); }
/* the whole province in view: the pins are drawn smaller, so the pile around Gloria stays readable */
.leaflet-container.is-wide .lot-pin svg { transform: scale(0.88); }
.leaflet-container.is-wide .lot-pin.is-hot svg { transform: scale(1.2); }
.xcard { display: grid; grid-template-columns: 230px minmax(0, 1fr); background: var(--glass), #0b2619; border: 1px solid var(--edge); border-radius: var(--radius); cursor: pointer; transition: border-color 0.3s, box-shadow 0.4s; }
.xcard:hover, .xcard:focus-visible { border-color: var(--edge-hot); }
.xcard.is-active { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold), 0 24px 50px -30px rgba(0, 0, 0, 0.85); }
.xcard__media { position: relative; min-height: 288px; overflow: hidden; background: var(--sand); }
/* owner rule: the whole flyer, stretched into the frame, never cropped */
.xcard__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.xcard__media img.is-broken { opacity: 0; }
.xcard__body { display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 18px 20px; }
.xcard__title { font: 500 1.45rem/1.15 var(--serif); font-variant-numeric: lining-nums; color: #fff; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.xcard__facts { font-size: 0.9rem; color: var(--ink-2); }
.xcard__price { display: grid; gap: 2px; }
.xcard__price strong { font: 500 1.2rem/1.25 var(--sans); color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.xcard__price small { font-size: 0.8rem; color: var(--ink-3); }
.xcard__acts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; margin-top: auto; padding-top: 6px; }
.xcard__acts .btn { padding: 0 12px; font-size: 0.66rem; letter-spacing: 0.1em; }
@media (max-width: 1100px) { .explore__grid { grid-template-columns: minmax(0, 1fr); } .explore__map { order: -1; } .explore__map .map { height: 52vh; min-height: 340px; } .explore__list { height: auto; overflow: visible; padding-right: 0; } .explore__list:not(.is-open) .xcard:nth-child(n+7) { display: none; } .explore__more:not([hidden]) { display: inline-flex; } }
@media (max-width: 560px) {
  .xcard { grid-template-columns: 116px minmax(0, 1fr); }
  .xcard__media { align-self: start; min-height: 0; aspect-ratio: 4 / 5; margin: 14px 0 14px 14px; }
  .xcard__body { padding: 14px; }
  .xcard__title { font-size: 1.25rem; }
  .xcard__acts { grid-template-columns: 1fr; }
  .explore__sort > span:first-child { display: none; }
}

/* ---------- the search bar, dark like the bar on the SouthStar Realty website ---------- */
.search__card { align-items: end; gap: 14px 18px; padding: clamp(16px, 1.8vw, 26px); background: var(--glass), rgba(7, 24, 16, 0.94); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -30px rgba(0, 0, 0, 0.85); }
.search__field { gap: 12px; padding: 0; border: 0; }
.search__field:focus-within { background: none; }
.search__field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.64); }
.search__field select { height: 56px; padding: 0 44px 0 18px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); font: 600 1.05rem/1 var(--sans); color: #fff; background: rgba(4, 14, 9, 0.74) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23e2cf96' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; transition: border-color 0.25s; }
.search__field select:hover, .search__field select:focus-visible { border-color: var(--edge-hot); }
.search__field option { background: #0e2c1d; color: #f5f8f4; }
.search__submit { padding: 0; }
.search__submit .btn { height: 56px; min-height: 56px; padding: 0 30px; font-weight: 600; }

/* ---------- town boundaries on the lot explorer map ---------- */
/* Leaflet only un-caps the width of drawings in its own overlay pane; ours are in a pane of their own (.img/svg
   get max-width:100% in the reset, and a pane has no width, so the drawing would collapse to nothing) */
.leaflet-container .leaflet-pane > svg { max-width: none; max-height: none; }
.town-label { background: none; border: 0; }
.town-label span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap; color: #fff; font: 700 0.72rem/1 var(--sans); letter-spacing: 0.03em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 5px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.6); }
.leaflet-container.is-close .town-label, .leaflet-container.is-far .town-label { display: none; }
.lg--has, .lg--soon { width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; border: 1px solid rgba(255, 255, 255, 0.7); }
.lg--has { background: rgba(20, 159, 66, 0.8); }
.lg--soon { background: rgba(200, 180, 40, 0.75); }

/* ---------- "land we own": our own lots from the air ---------- */
.own { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); }
.own .h2 em { white-space: nowrap; }
.own__media { display: grid; gap: 14px; aspect-ratio: auto; overflow: visible; outline: 0; }
.own__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; gap: 10px; height: clamp(460px, 62vh, 580px); }
.own__mosaic[data-n="2"] { grid-template-rows: 1.3fr 1fr; }
.own__mosaic[data-n="2"] .own__tile:nth-child(2) { grid-column: 1 / -1; }
.own__mosaic[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.own__tile { position: relative; display: block; overflow: hidden; min-height: 0; background: #0b2619; border: 1px solid var(--edge); border-radius: var(--radius); transition: border-color 0.35s, box-shadow 0.5s var(--ease); }
.own__tile.skel { aspect-ratio: auto; }
.own__tile--big { grid-column: 1 / -1; }
a.own__tile:hover, a.own__tile:focus-visible { border-color: var(--edge-hot); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.9); }
.own__tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.own__tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 23, 15, 0.28) 0%, rgba(6, 23, 15, 0) 26%, rgba(6, 23, 15, 0) 52%, rgba(6, 23, 15, 0.88) 100%); }
.own__cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 5px; }
.own__cap small { font: 500 0.6rem/1.25 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }
.own__cap strong { font: 500 1.45rem/1.05 var(--serif); font-variant-numeric: lining-nums; color: #fff; }
.own__tile--big .own__cap strong { font-size: 1.9rem; }
.own__go { position: absolute; z-index: 1; right: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; background: rgba(6, 23, 15, 0.7); border: 1px solid rgba(226, 207, 150, 0.4); color: var(--gold-soft); transition: background 0.3s, color 0.3s; }
.own__go .icon { width: 15px; height: 15px; }
a.own__tile:hover .own__go { background: var(--gold-2); color: var(--night); }
.own__note { font-size: 0.82rem; line-height: 1.5; color: var(--ink-3); }
.own__stats { margin-top: 2px; border: 1px solid var(--edge); border-top: 2px solid var(--gold); background: var(--glass), #0b2619; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -36px rgba(0, 0, 0, 0.78); }
.own__stats .stat { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.own__stats .stat:nth-child(even) { padding-left: 24px; }
.own__stats .stat:nth-last-child(-n + 2) { border-bottom: 0; }
.own__stats .stat__num { font-size: clamp(2.3rem, 3.1vw, 3rem); }
.own__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (max-width: 960px) { .own { grid-template-columns: minmax(0, 1fr); } .own__mosaic { height: clamp(380px, 62vh, 520px); } }
@media (max-width: 560px) {
  .own__mosaic, .own__mosaic[data-n="2"] { height: 450px; }
  .own__mosaic[data-n="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 320px; }
  .own__cap strong, .own__tile--big .own__cap strong { font-size: 1.3rem; }
  .own__stats .stat { padding: 18px 16px; }
  .own__stats .stat:nth-child(even) { padding-left: 16px; }
}

/* ---------- the logo lockup: the classic emblem, a gold hairline, the name in white engraved-serif capitals, REALTY in soft gold ---------- */
.brand { gap: clamp(12px, 1.1vw, 16px); }
/* the emblem is the owner's logo file as it is (emblem-dark.svg): no effects, no recolouring */
.brand__mark { width: clamp(58px, 5.1vw, 76px); }
.brand__word { position: relative; justify-items: stretch; padding-left: clamp(12px, 1.1vw, 16px); font-family: "Cinzel", "Cormorant Garamond", Georgia, serif; font-size: clamp(1.1rem, 1.62vw, 1.52rem); font-kerning: normal; }
.brand__word::before { content: ""; position: absolute; left: 0; top: 2%; bottom: 2%; width: 1px; background: linear-gradient(180deg, rgba(226, 207, 150, 0), rgba(226, 207, 150, 0.8) 28%, rgba(226, 207, 150, 0.8) 72%, rgba(226, 207, 150, 0)); }
.brand .brand__name, .hdr .brand .brand__name, .ftr__brand .brand__name, .curtain__mark .brand__name {
  font-weight: 700; font-stretch: normal; letter-spacing: 0.13em; margin-right: -0.13em; color: #fff; background: none; -webkit-text-fill-color: currentColor;
  filter: none; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.brand .brand__sub, .hdr .brand .brand__sub, .ftr__brand .brand__sub, .curtain__mark .brand__sub {
  display: flex; align-items: center; gap: 0.9em; margin: 0.66em 0 0; font-family: var(--sans); font-size: max(0.4em, 8.5px); font-weight: 500; font-stretch: normal; line-height: 1; letter-spacing: 0.56em; color: var(--gold-soft);
}
.brand__sub::before, .brand__sub::after { content: ""; flex: 1; min-width: 0.8em; height: 1px; background: rgba(226, 207, 150, 0.65); }
.brand__sub::before { margin-right: 0.56em; } /* balances the space the letter-spacing leaves after the last letter */
.ftr__brand .brand { gap: 16px; }
.ftr__brand .brand__mark { width: 98px; }
.ftr__brand .brand__word { padding-left: 16px; font-size: 1.72rem; }
.curtain__mark { gap: 18px; }
.curtain__mark .brand__word { padding-left: 18px; }
@media (max-width: 560px) { .ftr__brand .brand__mark { width: 84px; } .ftr__brand .brand__word { font-size: 1.42rem; } }
@media (max-width: 420px) { .curtain__mark { gap: 12px; } .curtain__mark img { width: 72px; } .curtain__mark .brand__word { padding-left: 12px; font-size: 1.22rem; } }

/* ---------- lot photos keep their own shape: shown whole, never stretched and never cropped ---------- */
.gallery__cell img { object-fit: contain; }
.gallery__cell { background: rgba(255, 255, 255, 0.04); }
.gallery--one:not(.gallery--sat) { height: auto; justify-items: center; }
.gallery--one:not(.gallery--sat) .gallery__cell { aspect-ratio: auto; background: none; max-width: 100%; }
.gallery--one:not(.gallery--sat) .gallery__cell img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(88vh, 900px); }

/* ---------- the office panel: the same dark glass as the lot explorer, a gold line on top, the map framed inside ---------- */
.office { position: relative; gap: clamp(16px, 1.6vw, 24px); padding: clamp(16px, 1.6vw, 24px); background: var(--glass), #0b2619; border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -36px rgba(0, 0, 0, 0.78); overflow: visible; }
.office::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: linear-gradient(90deg, rgba(226, 207, 150, 0), #e6c764 22%, #a8842c 78%, rgba(226, 207, 150, 0)); }
.office__text { padding: clamp(20px, 3.4vw, 48px); align-content: center; }
.office__text .h2 { color: #fff; }
.office__map { position: relative; min-height: 440px; border: 1px solid var(--edge); }
.office__map .map { position: absolute; inset: 0; height: auto; min-height: 0; }
.map-switch { background: rgba(6, 24, 15, 0.9); border-color: var(--edge-hot, rgba(226, 207, 150, 0.4)); }
.map-switch button { color: rgba(255, 255, 255, 0.82); }

/* ---------- the zoomed photo always fits the screen whole: sized from the window itself, so a tall flyer is never cut off ---------- */
.lightbox { max-width: none; max-height: none; }
.lightbox__inner { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.lightbox img { width: auto; height: auto; max-width: min(100%, calc(100vw - 24px)); max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px); object-fit: contain; }
.lightbox__inner { background: rgba(3, 12, 8, 0.93); }

/* ---------- featured lots on the home page: the flyer is shown whole, at its own shape ---------- */
/* every flyer gets the same frame, so the text under the three cards lines up; a taller flyer sits whole inside it */
[data-featured] .card__media { aspect-ratio: 4 / 5; background: rgba(255, 255, 255, 0.04); }
[data-featured] .card__media > img { height: 100%; object-fit: contain; display: block; }

/* ---------- town tiles: the town's landmark sits in the top half as a picture, the facts on the dark panel below ---------- */
.town > img { inset: 0 0 auto 0; height: 46%; }
.town::before { background: linear-gradient(180deg, rgba(6, 23, 15, 0.55) 0%, rgba(6, 23, 15, 0) 16%, rgba(6, 23, 15, 0) 34%, #0b2619 46%, #0b2619 100%); }
.town--plain::before { background: linear-gradient(180deg, rgba(6, 23, 15, 0) 40%, rgba(6, 23, 15, 0.6) 100%); }
/* every town's description keeps room for three lines, so the town names sit on one line across the row */
.town__line { min-height: 4.35em; }

/* the About story picture is shown whole, at its own shape, on every screen */
.story__media { aspect-ratio: auto; }
.story__media img { height: auto; object-fit: contain; display: block; }
/* the story picture takes the wider column, so it is not small beside the text */
@media (min-width: 1101px) { .story { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: clamp(32px, 4.4vw, 72px); } }

/* every inner page's top photo is the same height (that of Lots for sale), whatever the length of its heading */
@media (min-width: 961px) { .phero { display: flex; align-items: flex-end; min-height: clamp(600px, 50vw, 680px); } .phero > .wrap { width: 100%; } }

/* ---------- About, "Our story": heading on top, the picture beside three numbered points, the numbers in one row below ---------- */
.ostory { display: grid; gap: clamp(36px, 4.6vw, 64px); }
.ostory .sec-head { margin-bottom: 0; }
.ostory__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 72px); align-items: center; }
.ostory__media { overflow: hidden; border: 1px solid var(--edge); border-radius: var(--radius); }
.ostory__media img { display: block; width: 100%; height: auto; }
.ostory__points { display: grid; list-style: none; margin: 0; padding: 0; }
.ostory__points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; padding: 24px 0; border-top: 1px solid var(--edge); }
.ostory__points li:last-child { border-bottom: 1px solid var(--edge); }
.ostory__n { font: 500 0.72rem/1 var(--sans); letter-spacing: 0.2em; color: var(--gold-soft); padding-top: 9px; }
.ostory__points h3 { font: 500 1.5rem/1.2 var(--serif); color: #fff; margin: 0 0 8px; }
.ostory__points p { color: rgba(255, 255, 255, 0.76); max-width: 46ch; }
.ostory__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: clamp(22px, 2.6vw, 32px) clamp(20px, 3vw, 44px); background: var(--glass), #0b2619; border: 1px solid var(--edge); text-align: center; }
.ostory__stats .stat { justify-items: center; }
.ostory__stats .stat + .stat { border-left: 1px solid var(--edge); }
.ostory__stats .stat__num { color: #fff; }
.ostory__stats .stat__label { color: rgba(255, 255, 255, 0.66); }
@media (max-width: 860px) {
  .ostory__grid { grid-template-columns: minmax(0, 1fr); }
  .ostory__stats { grid-template-columns: minmax(0, 1fr); }
  .ostory__stats .stat + .stat { border-left: 0; border-top: 1px solid var(--edge); padding-top: 20px; }
}

/* ---------- booking form: the lot is picked on the Lots for sale page, not from a long list ---------- */
.lotpick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; min-height: 54px; padding: 12px 16px; background: rgba(4, 16, 10, 0.55); border: 1px solid var(--edge); border-radius: var(--radius); }
.lotpick__name { color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; }
.lotpick__name small { display: block; margin-top: 3px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.lotpick .link { color: var(--gold-soft); white-space: nowrap; }

/* ---------- closing block: client reviews and the "start your land journey" card ---------- */
.closing .wrap { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.closing .sec-head { margin-bottom: 0; }
.reviews__empty { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 26px; padding: clamp(22px, 2.6vw, 34px); background: var(--glass), #0b2619; border: 1px solid var(--edge); }
.reviews__icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--edge-hot); color: var(--gold-soft); }
.reviews__icon .icon { width: 22px; height: 22px; }
.reviews__empty h3 { font: 500 1.5rem/1.2 var(--serif); color: #fff; margin: 0 0 6px; }
.reviews__empty p { color: rgba(255, 255, 255, 0.72); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { display: grid; align-content: start; gap: 14px; margin: 0; padding: 26px; background: var(--glass), #0b2619; border: 1px solid var(--edge); }
.review blockquote { margin: 0; font: italic 400 1.2rem/1.45 var(--serif); color: rgba(255, 255, 255, 0.9); }
.review figcaption { font: 500 0.68rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }
.rstars { color: #e6c764; letter-spacing: 3px; } .rstars i { font-style: normal; color: rgba(255, 255, 255, 0.2); }
.reviews__more { margin-top: 18px; }
.rpick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rpick label { cursor: pointer; } .rpick input { position: absolute; opacity: 0; pointer-events: none; }
.rpick span { font-size: 1.9rem; line-height: 1; color: rgba(255, 255, 255, 0.22); transition: color 0.2s; }
.rpick label:hover span, .rpick label:hover ~ label span, .rpick label:has(input:checked) span, .rpick label:has(input:checked) ~ label span { color: #e6c764; }
.rpick b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#review textarea { width: 100%; padding: 12px 16px; background: rgba(4, 16, 10, 0.55); border: 1px solid var(--edge); border-radius: var(--radius); color: #fff; font: inherit; resize: vertical; }
.journey { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) auto; align-items: center; gap: 28px clamp(28px, 5vw, 80px); padding: clamp(30px, 4.4vw, 64px); background: radial-gradient(520px 360px at 92% 100%, rgba(201, 165, 74, 0.16), transparent 62%), var(--glass), #0b2619; border: 1px solid var(--edge); }
.journey::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: linear-gradient(90deg, rgba(226, 207, 150, 0), #e6c764 22%, #a8842c 78%, rgba(226, 207, 150, 0)); }
.journey > div:first-child { display: grid; gap: 18px; justify-items: start; }
.journey__tag { padding: 9px 14px; border: 1px solid var(--edge-hot); font: 500 0.64rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.journey .h2 { color: #fff; } .journey p { color: rgba(255, 255, 255, 0.76); max-width: 52ch; }
.journey__acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .reviews__empty, .journey { grid-template-columns: minmax(0, 1fr); } .reviews__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- search bar: one even dark band behind it, the same on the left and the right ----------
   The bar sits across the bottom edge of the hero film. The film now fades to a solid dark green before it reaches the
   bar, and the strip under the film carries the same colour, so both sides of the bar match. */
.search { --lift: 96px; margin-top: calc(-1 * var(--lift)); padding-bottom: 44px; background: linear-gradient(180deg, transparent 0, transparent var(--lift), #06160e var(--lift), #06160e calc(100% - 44px), rgba(6, 22, 14, 0) 100%); }
.hero--video::after { background: linear-gradient(180deg, rgba(6, 22, 14, 0) calc(100% - 300px), #06160e calc(100% - 100px), #06160e 100%), linear-gradient(180deg, rgba(7, 26, 16, 0.7) 0%, rgba(7, 26, 16, 0.22) 28%, rgba(7, 26, 16, 0.3) 52%, rgba(7, 26, 16, 0.6) 100%), linear-gradient(90deg, rgba(7, 26, 16, 0.62) 0%, rgba(7, 26, 16, 0.08) 66%); }
.search + .sec { padding-top: clamp(28px, 4vw, 60px); }
@media (max-width: 960px) { .search { --lift: 84px; } }

/* ---------- inner pages: the top photo melts into the page instead of ending on a hard edge ----------
   The photo fades to the page's dark green over its lower third, the gold hairline under it is gone, and the same
   green carries a little way into the section below before the page pattern takes over. */
.phero::before { background: linear-gradient(180deg, rgba(7, 26, 16, 0.66) 0%, rgba(7, 26, 16, 0.46) 36%, rgba(6, 22, 14, 0.74) 66%, rgba(6, 22, 14, 0.94) 86%, #06160e 100%); }
.phero + .sec::before, .phero + section::before { display: none; }
.phero + .sec, .phero + section { background-image: linear-gradient(180deg, #06160e 0, rgba(6, 22, 14, 0) 140px); background-repeat: no-repeat; }

/* ---------- every listing picture is shown whole, at its own shape: cards, the lists beside the maps, map pop-ups ---------- */
.card__media > img, .xcard__media > img, .pop__img { object-fit: contain; }
.card__media, .xcard__media { background: rgba(255, 255, 255, 0.04); }
.pop__img { background: #0b2619; }

/* ==========================================================================
   Phone layout, in the structure of the first SouthStar mobile site: a tab bar along the bottom, and on the home
   page a search box, lot-type chips, the newest lots to swipe through and a two-column grid. Same colours and
   type as the rest of the site. Nothing here applies above 720px.
   ========================================================================== */
.mtabs, .mhome, .mbar { display: none; }
@media (max-width: 720px) {
  :root { --mtabs: 62px; }
  body { padding-bottom: calc(var(--mtabs) + env(safe-area-inset-bottom, 0px)); }
  .m-hide { display: none !important; }

  /* tab bar */
  .mtabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(var(--mtabs) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: #05120c; border-top: 1px solid var(--edge); box-shadow: 0 -14px 30px -18px rgba(0, 0, 0, 0.9); }
  .mtabs a { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; font: 500 0.6rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.58); }
  .mtabs .icon { width: 21px; height: 21px; }
  .mtabs a[aria-current] { color: var(--gold-soft); }
  .mtabs a[aria-current]::before { content: ""; position: absolute; top: -1px; left: 26%; right: 26%; height: 2px; background: linear-gradient(90deg, #e6c764, #a8842c); }
  .menu-btn { display: none; } /* the tabs are the menu */
  .fab { bottom: calc(var(--mtabs) + 14px + env(safe-area-inset-bottom, 0px)); }
  body:has(.mbar) .fab { display: none; }

  /* home: a compact hero, then the phone block */
  .hero.hero--video { height: auto; min-height: 0; max-height: none; }
  .hero--video .hero__content { height: auto; padding-top: calc(var(--hdr) + 34px); padding-bottom: 64px; }
  .hero--video .hero__title { font-size: clamp(2.3rem, 10.5vw, 3rem); margin: 14px 0 14px; }
  .hero--video .hero__lead { margin-bottom: 0; font-size: 0.98rem; }
  .hero--video .hero__ctas { display: none; }
  .hero--video::after { background: linear-gradient(180deg, rgba(6, 22, 14, 0.72) 0%, rgba(6, 22, 14, 0.4) 46%, #06160e 100%); }

  .mhome { display: grid; gap: 18px; position: relative; z-index: 5; margin-top: -30px; padding: 0 var(--gutter) 34px; background: linear-gradient(180deg, transparent 0, transparent 30px, #06160e 30px, #06160e calc(100% - 60px), rgba(6, 22, 14, 0) 100%); }
  .mhome__search { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; background: var(--glass), rgba(7, 24, 16, 0.96); border: 1px solid var(--edge-hot); box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.9); }
  .mhome__search .icon { width: 18px; height: 18px; flex: none; color: var(--gold-soft); }
  .mhome__search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: #fff; font: 500 1rem/1 var(--sans); outline: none; }
  .mhome__search input::placeholder { color: rgba(255, 255, 255, 0.5); }
  .mhome__search input::-webkit-search-cancel-button { filter: invert(1); opacity: 0.6; }
  .mhome__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mhome__chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .mhome__chips::-webkit-scrollbar { display: none; }
  .mchip { flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--edge); background: rgba(255, 255, 255, 0.03); color: rgba(255, 255, 255, 0.8); font: 500 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
  .mchip.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  .mhome__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 6px; }
  .mhome__head h2 { font: 500 1.6rem/1.1 var(--serif); color: #fff; }
  .mhome__head a { font: 500 0.66rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); padding: 8px 0; }
  .mhome [data-m-body] { display: grid; gap: 14px; min-width: 0; }
  .mhome__strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .mhome__strip::-webkit-scrollbar { display: none; }
  .mcard--slide { flex: 0 0 74%; scroll-snap-align: center; }
  .mhome__dots { display: flex; justify-content: center; gap: 2px; }
  .mdot { position: relative; width: 26px; height: 26px; }
  .mdot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 12px; height: 2px; background: rgba(255, 255, 255, 0.24); }
  .mdot.is-active::before { background: var(--gold-soft); }
  .mhome__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mcard { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--glass), #0b2619; border: 1px solid var(--edge); }
  .mcard__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: rgba(255, 255, 255, 0.04); isolation: isolate; }
  .mcard__img > img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .mcard__img .card__note { left: 6px; bottom: 6px; padding: 4px 7px; font-size: 0.5rem; }
  .mcard__img .card__reserved { left: 6px; top: 6px; padding: 5px 8px; font-size: 0.54rem; }
  .mcard__body { display: grid; gap: 5px; align-content: start; padding: 12px 12px 14px; }
  .mcard__price { font: 600 1rem/1.2 var(--sans); color: var(--gold-soft); }
  .mcard__sub { font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); }
  .mcard__title { font: 500 1.08rem/1.2 var(--serif); color: #fff; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .mcard__title::after { content: ""; position: absolute; inset: 0; } /* the whole card opens the lot */
  .mcard__loc { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.7); min-width: 0; }
  .mcard__loc .icon { width: 12px; height: 12px; flex: none; color: var(--gold-soft); }
  .mcard__loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mcard__facts { font-size: 0.72rem; color: rgba(255, 255, 255, 0.56); }
  .mcard--slide .mcard__title { font-size: 1.3rem; } .mcard--slide .mcard__price { font-size: 1.12rem; }
  .mhome__empty { display: grid; gap: 12px; justify-items: stretch; text-align: center; padding: 28px 18px; border: 1px solid var(--edge); background: var(--glass), #0b2619; }
  .mhome__empty h3 { font: 500 1.4rem/1.2 var(--serif); color: #fff; }
  .mhome__empty p { color: rgba(255, 255, 255, 0.72); }
  .mhome__brand { position: relative; display: grid; gap: 10px; margin-top: 10px; padding: 26px 20px; background: radial-gradient(360px 240px at 100% 100%, rgba(201, 165, 74, 0.16), transparent 62%), var(--glass), #0b2619; border: 1px solid var(--edge); }
  .mhome__brand::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: linear-gradient(90deg, rgba(226, 207, 150, 0), #e6c764 22%, #a8842c 78%, rgba(226, 207, 150, 0)); }
  .mhome__brand h3 { font: 500 1.6rem/1.1 var(--serif); color: #fff; }
  .mhome__kick { font: 500 0.64rem/1.5 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
  .mhome__brand p { color: rgba(255, 255, 255, 0.76); font-size: 0.94rem; }
  .mhome__brand .btn { margin-top: 6px; }
  .mhome + .m-hide + .m-hide + .m-hide + .m-hide + .sec::before { display: none; }

  /* Lots for sale: two columns of compact cards */
  [data-page="properties"] .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  [data-page="properties"] .cards--boxed .card { padding: 0; }
  [data-page="properties"] .card__body { padding: 10px 10px 0; gap: 6px; }
  [data-page="properties"] .cards--boxed .card__body { padding-inline: 10px; }
  [data-page="properties"] .card__loc { font-size: 0.56rem; letter-spacing: 0.12em; }
  [data-page="properties"] .card__title { font-size: 1.05rem; -webkit-line-clamp: 2; }
  [data-page="properties"] .card__specs { font-size: 0.72rem; gap: 2px 10px; }
  [data-page="properties"] .card__tags { display: none; }
  [data-page="properties"] .card__foot, [data-page="properties"] .cards--boxed .card__foot { margin: 10px 10px 12px; padding-top: 10px; }
  [data-page="properties"] .card__foot .price strong { font-size: 0.95rem; }
  [data-page="properties"] .card__ask { display: none; }

  /* a lot's page: Call / Ask / Request viewing above the tab bar */
  .mbar { position: fixed; left: 0; right: 0; bottom: calc(var(--mtabs) + env(safe-area-inset-bottom, 0px)); z-index: 89; display: grid; grid-template-columns: auto minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 8px; padding: 10px var(--gutter); background: #06160e; border-top: 1px solid var(--edge); }
  .mbar .btn { min-height: 46px; padding: 0 10px; justify-content: center; }
  .mbar__call { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--edge-hot); color: var(--gold-soft); }
  .mbar__call .icon { width: 18px; height: 18px; }
  body:has(.mbar) { padding-bottom: calc(var(--mtabs) + 68px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- a pin whose card is pointed at (or picked): it grows, glows gold and a ring pulses at its tip ---------- */
.lot-pin.is-hover, .lot-pin.is-hot { filter: drop-shadow(0 0 7px rgba(246, 212, 85, 0.95)) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5)); }
.lot-pin.is-hover svg, .leaflet-container.is-wide .lot-pin.is-hover svg { transform: scale(1.45); animation: pinhop 0.9s var(--ease) infinite alternate; }
.lot-pin.is-hover::after, .lot-pin.is-hot::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 16px; height: 16px; margin-left: -8px; border: 2px solid #f6d455; border-radius: 50%; animation: pinring 1.3s ease-out infinite; pointer-events: none; }
@keyframes pinhop { from { transform: scale(1.45) translateY(0); } to { transform: scale(1.45) translateY(-5px); } }
@keyframes pinring { from { transform: scale(0.5); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }

/* the dot of the lot on show grows into a short gold bar */
@media (max-width: 720px) { .mdot { transition: width 0.4s var(--ease); } .mdot.is-active { width: 40px; } .mdot::before { transition: background 0.4s; } }

/* ---------- phone Map tab: a map screen of its own (title bar, town chips, the map filling the rest) ---------- */
.mmap, .mmap__legend, .mmap__all { display: none; }
@media (max-width: 720px) {
  body.is-mapview .hdr, body.is-mapview .phero, body.is-mapview .toolbar, body.is-mapview .meta, body.is-mapview .closing, body.is-mapview .ftr, body.is-mapview .fab,
  body.is-mapview .rows, body.is-mapview .map-hint, body.is-mapview .curtain { display: none !important; }
  body.is-mapview main > section.wrap { max-width: none; padding: 0 !important; }
  body.is-mapview .split { display: block; }
  body.is-mapview .mmap { display: grid; background: #06160e; border-bottom: 1px solid var(--edge); }
  .mmap__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; height: 66px; padding: 0 10px; }
  .mmap__head a, .mmap__head button { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
  .mmap__head .icon { width: 20px; height: 20px; }
  .mmap__head div { display: grid; gap: 5px; min-width: 0; }
  .mmap__head strong { font: 500 1.4rem/1 var(--serif); color: #fff; }
  .mmap__head span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.64); }
  .mmap__chips { display: flex; gap: 8px; overflow-x: auto; height: 58px; padding: 4px 14px 14px; scrollbar-width: none; }
  .mmap__chips::-webkit-scrollbar { display: none; }
  body.is-mapview .mapcard { border: 0; border-radius: 0; }
  body.is-mapview .mapcard .map { height: calc(100vh - 124px - var(--mtabs) - env(safe-area-inset-bottom, 0px)); height: calc(100dvh - 124px - var(--mtabs) - env(safe-area-inset-bottom, 0px)); min-height: 300px; }
  body.is-mapview .mmap__legend { position: absolute; z-index: 500; left: 12px; top: 12px; display: grid; gap: 7px; padding: 11px 13px; background: rgba(6, 22, 14, 0.9); border: 1px solid var(--edge); font-size: 0.78rem; font-weight: 500; color: #fff; }
  .mmap__legend span { display: flex; align-items: center; gap: 8px; }
  .mmap__legend i { width: 13px; height: 13px; border: 1.5px solid #fff; background: #8a7a34; }
  .mmap__legend i.has { background: #2e8f4a; }
  body.is-mapview .mmap__all { position: absolute; z-index: 500; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; white-space: nowrap; background: rgba(6, 22, 14, 0.94); border: 1px solid var(--edge-hot); color: var(--gold-soft); font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.9); }
  .mmap__all .icon { width: 16px; height: 16px; }
  /* zoom buttons on the right, as large tap targets */
  body.is-mapview .leaflet-top.leaflet-left { left: auto; right: 0; }
  body.is-mapview .leaflet-top.leaflet-left .leaflet-control { margin: 12px 12px 0 0; border: 0; display: grid; gap: 8px; }
  body.is-mapview .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 42px; font-size: 22px; background: rgba(6, 22, 14, 0.9); color: var(--gold-soft); border: 1px solid var(--edge); }
}

/* ---------- maps with town boundaries: what is drawn on the photo fades in once the photo is there ---------- */
.leaflet-towns-pane, .leaflet-town-names-pane, .leaflet-overlay-pane, .leaflet-marker-pane, .leaflet-tooltip-pane { transition: opacity 0.7s var(--ease); }
.leaflet-container.is-loading .leaflet-towns-pane, .leaflet-container.is-loading .leaflet-town-names-pane, .leaflet-container.is-loading .leaflet-overlay-pane,
.leaflet-container.is-loading .leaflet-marker-pane, .leaflet-container.is-loading .leaflet-tooltip-pane { opacity: 0; }
.leaflet-container.is-loading { background: #0d2a3a; } /* a quiet sea colour while the photo arrives */
/* a pin whose town is not the one chosen fades away (phone map screen) */
.lot-pin { transition: opacity 0.45s var(--ease); }
.lot-pin.is-off { opacity: 0; pointer-events: none; }

/* phone map screen: compact town chips, and a thin gold bar under them that follows the swipe */
@media (max-width: 720px) {
  .mmap__chips { height: 46px; padding: 2px 14px 6px; gap: 7px; }
  .mmap__chips .mchip { min-height: 38px; padding: 0 13px; font: 600 0.88rem/1 var(--sans); letter-spacing: 0; text-transform: none; white-space: nowrap; }
  .mmap__bar { position: relative; height: 3px; margin: 0 14px 9px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
  .mmap__bar[hidden] { display: block; visibility: hidden; }
  .mmap__bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, #e6c764, #a8842c); }
}

/* the bar under the town chips is a handle: tall enough to grab, drawn as a thin line */
@media (max-width: 720px) {
  .mmap__bar { height: 20px; margin: -4px 14px 0; background: none; overflow: visible; cursor: pointer; touch-action: none; }
  .mmap__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; background: rgba(255, 255, 255, 0.12); }
  .mmap__bar i { top: 7px; bottom: auto; height: 5px; border-radius: 3px; cursor: grab; transition: height 0.2s, top 0.2s; }
  .mmap__bar.is-drag i { top: 6px; height: 7px; cursor: grabbing; }
  .mmap__chips { cursor: grab; }
  body.is-mapview .mapcard .map { height: calc(100vh - 128px - var(--mtabs) - env(safe-area-inset-bottom, 0px)); height: calc(100dvh - 128px - var(--mtabs) - env(safe-area-inset-bottom, 0px)); }
}

/* rows that slide sideways: no text gets selected while sliding, and the snap lets go while a mouse holds the row */
@media (max-width: 720px) {
  .mmap__chips, .mhome__chips, .mhome__strip, .mmap__bar { user-select: none; -webkit-user-select: none; }
  .mhome__chips, .mhome__strip { cursor: grab; }
  .is-dragging { cursor: grabbing !important; scroll-snap-type: none !important; scroll-behavior: auto !important; }
  .mhome__strip.is-dragging .mcard__title::after { pointer-events: none; }
}

/* ---------- phone, Lots for sale: the four filters sit in two rows of two and all fit; Grid / Map is in the tab bar ---------- */
@media (max-width: 720px) {
  .toolbar { position: static; }
  .toolbar .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; padding-block: 12px; }
  .toolbar .sel { min-width: 0; }
  .toolbar .sel select { width: 100%; padding: 0 34px 0 14px; font-size: 0.88rem; text-overflow: ellipsis; }
  .toolbar .sel::after { right: 14px; }
  .toolbar__sep, .toolbar .seg { display: none; }
  .toolbar .reset:not([hidden]) { grid-column: 1 / -1; justify-self: start; min-height: 40px; }
  [data-page="properties"] .meta { padding: 20px 0 16px; }
}

/* ---------- phone, Lots for sale: every card in a row lines up -- place, title, size, type, then the price line ---------- */
@media (max-width: 720px) {
  [data-page="properties"] .card__loc { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  [data-page="properties"] .card__loc .icon { display: inline-block; vertical-align: -2px; margin-right: 5px; }
  [data-page="properties"] .card__title { line-height: 1.2; min-height: 2.4em; }
  [data-page="properties"] .card__specs { flex-direction: column; flex-wrap: nowrap; gap: 4px; min-height: 2.9em; }
  [data-page="properties"] .card__specs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  [data-page="properties"] .card__foot, [data-page="properties"] .cards--boxed .card__foot { align-items: flex-start; gap: 8px; min-height: 76px; margin-top: 12px; }
  [data-page="properties"] .card__foot .price { display: grid; gap: 3px; min-width: 0; }
  [data-page="properties"] .card__foot .price strong { font-size: 0.9rem; line-height: 1.25; }
  [data-page="properties"] .card__foot .price small { font-size: 0.7rem; }
  .mcard__title { line-height: 1.2; min-height: 2.4em; }
}

/* ---------- lot page: the payment plan (in-house installment, 0% interest, up to 3 years) ---------- */
.plan { position: relative; display: grid; gap: clamp(18px, 2vw, 26px); padding: clamp(20px, 2.6vw, 34px); background: var(--glass), #0b2619; border: 1px solid var(--edge); }
.plan::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: linear-gradient(90deg, rgba(226, 207, 150, 0), #e6c764 22%, #a8842c 78%, rgba(226, 207, 150, 0)); }
.plan__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px 20px; }
.plan__lead { margin-top: 10px; color: rgba(255, 255, 255, 0.76); }
.plan__lead strong { color: var(--gold-soft); font-weight: 500; }
.plan__badge { padding: 9px 14px; border: 1px solid var(--edge-hot); color: var(--gold-soft); font: 500 0.64rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.plan__picks { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px clamp(20px, 3vw, 40px); }
.plan__picks > div { display: grid; gap: 10px; align-content: start; }
.plan__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.plan__opts button { flex: 1 1 0; min-width: 58px; min-height: 44px; padding: 0 10px; border: 1px solid var(--edge); background: rgba(4, 16, 10, 0.55); color: rgba(255, 255, 255, 0.86); font: 500 0.92rem/1 var(--sans); white-space: nowrap; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.plan__opts button:hover { border-color: var(--edge-hot); }
.plan__opts button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.plan__out { display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 28px); background: rgba(4, 16, 10, 0.5); border: 1px solid var(--edge-hot); }
.plan__monthly { display: grid; justify-items: center; gap: 6px; text-align: center; padding-bottom: 18px; border-bottom: 1px dashed var(--edge); }
.plan__monthly strong { font: 500 clamp(2rem, 4.4vw, 3rem)/1.05 var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--gold-soft); }
.plan__monthly span { color: rgba(255, 255, 255, 0.7); }
.plan__rows { display: grid; gap: 10px; margin: 0; }
.plan__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.plan__rows dt { color: rgba(255, 255, 255, 0.72); }
.plan__rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; text-align: right; }
.plan__total { padding-top: 12px; border-top: 1px solid var(--edge-hot); }
.plan__total dt { color: var(--gold-soft); }
.plan__ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.82); font-size: 0.94rem; }
.plan__ticks li { display: flex; align-items: center; gap: 10px; }
.plan__ticks .icon { width: 16px; height: 16px; flex: none; color: var(--gold-soft); }
.plan__go { width: 100%; min-height: 58px; justify-content: center; }
.plan__note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.58); text-align: center; }
@media (max-width: 720px) { .plan__picks, .plan__ticks { grid-template-columns: minmax(0, 1fr); } }
/* the choices sit in one even row, on a phone too */
.plan__opts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.plan__opts button { min-width: 0; padding: 0 4px; }
@media (max-width: 720px) { .plan__opts button { font-size: 0.86rem; } }

/* ---------- the opening screen, in the landing page's own look ----------
   The film's first frame under a dark green veil and the facet pattern; the logo above the name; a gold line that draws
   itself; the landing page's headline. It fades into the film (the same picture is behind it), it does not slide away. */
.curtain { z-index: 400; background: radial-gradient(ellipse 62% 50% at 50% 46%, rgba(6, 22, 14, 0.62), rgba(4, 14, 9, 0.3) 100%), linear-gradient(180deg, rgba(6, 22, 14, 0.55), rgba(6, 22, 14, 0.4) 45%, rgba(6, 22, 14, 0.9)), #06160e url("../video/hero-poster.jpg") center / cover no-repeat; animation: curtain-fade 1s var(--ease-io) 2s forwards; }
@keyframes curtain-fade { to { opacity: 0; transform: scale(1.04); visibility: hidden; } }
.curtain__inner { gap: 0; padding: 0 24px; text-align: center; }
.curtain__emblem { width: clamp(120px, 15vw, 190px); height: auto; opacity: 0; transform: translateY(14px) scale(0.94); animation: curtain-in 1s var(--ease) 0.1s forwards; }
.curtain__mark { display: block; margin-top: clamp(18px, 2.4vw, 28px); opacity: 0; transform: translateY(12px); animation: rise 0.9s var(--ease) 0.3s forwards; }
.curtain__mark .brand__word { padding-left: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); justify-items: stretch; }
.curtain__mark .brand__word::before { display: none; }
.curtain__line { width: min(260px, 60vw); margin-top: clamp(22px, 3vw, 34px); background: rgba(226, 207, 150, 0.16); }
.curtain__line i { background: linear-gradient(90deg, #a8842c, #f0d67a, #a8842c); animation: grow 1.1s var(--ease-io) 0.5s forwards; }
.curtain__title { margin-top: clamp(20px, 2.6vw, 30px); font: 400 clamp(1.5rem, 3.2vw, 2.5rem)/1.15 var(--serif); color: #fff; opacity: 0; transform: translateY(12px); animation: rise 0.9s var(--ease) 0.7s forwards; }
.curtain__title em { color: var(--gold-soft); }
.curtain__place { margin-top: 18px; font-size: 0.62rem; letter-spacing: 0.28em; color: rgba(255, 255, 255, 0.7); animation-delay: 0.95s; }
@keyframes curtain-in { to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .curtain__mark .brand__word { font-size: 1.6rem; padding-left: 0; } .curtain__place { letter-spacing: 0.2em; } }

/* the opening screen, quicker: the same order of entrances at about two thirds of the time, and the landing headline
   starts to rise while the screen is still fading, so one motion hands over to the next */
.curtain { animation: curtain-fade 0.7s var(--ease-io) 1.25s forwards; }
.curtain__emblem { animation: curtain-in 0.6s var(--ease) 0.05s forwards; }
.curtain__mark { animation: rise 0.55s var(--ease) 0.18s forwards; }
.curtain__line i { animation: grow 0.65s var(--ease-io) 0.3s forwards; }
.curtain__title { animation: rise 0.55s var(--ease) 0.42s forwards; }
.curtain__place { animation: rise 0.5s var(--ease) 0.58s forwards; }

/* ---------- the opening screen, smooth ----------
   It waits as plain dark green until its picture, logo and lettering are loaded (site.js adds .is-go), then the film
   frame fades up behind while the logo, name, line and words rise together as one. Then the whole screen fades into
   the film. Only opacity and position move. If the script never runs, it clears itself after three seconds. */
.curtain { background: #06160e; animation: curtain-fade 0.6s var(--ease-io) 3s forwards; will-change: opacity; contain: strict; }
.curtain::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(ellipse 62% 50% at 50% 46%, rgba(6, 22, 14, 0.62), rgba(4, 14, 9, 0.3) 100%), linear-gradient(180deg, rgba(6, 22, 14, 0.55), rgba(6, 22, 14, 0.4) 45%, rgba(6, 22, 14, 0.9)), url("../video/hero-poster.jpg") center / cover no-repeat; transition: opacity 0.7s var(--ease); will-change: opacity; }
.curtain { isolation: isolate; }
.curtain__inner { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.75s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
.curtain__emblem, .curtain__mark, .curtain__title, .curtain__place { opacity: 1; transform: none; animation: none; }
.curtain__line i { animation: none; transform: scaleX(0); transition: transform 0.8s var(--ease-io) 0.2s; }
.curtain.is-go { animation: curtain-out 0.75s var(--ease-io) 1.3s forwards; }
.curtain.is-go::before { opacity: 1; }
.curtain.is-go .curtain__inner { opacity: 1; transform: none; }
.curtain.is-go .curtain__line i { transform: scaleX(1); }
@keyframes curtain-out { to { opacity: 0; visibility: hidden; } }
.curtain[hidden] { display: none; }

/* ---------- phone: compact cards and forms (the desktop spacing made each card nearly a full screen) ---------- */
@media (max-width: 720px) {
  .btn { min-height: 46px; padding: 0 18px; gap: 9px; font-size: 0.68rem; letter-spacing: 0.16em; }
  .btn .icon { width: 15px; height: 15px; }

  /* Start your land journey */
  .journey { gap: 18px; padding: 22px 18px; }
  .journey > div:first-child { gap: 12px; }
  .journey__tag { padding: 7px 11px; font-size: 0.58rem; }
  .journey .h2 { font-size: 1.65rem; line-height: 1.12; }
  .journey p { font-size: 0.92rem; line-height: 1.55; }
  .journey__acts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }

  /* client reviews, empty */
  .reviews__empty { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px; }
  .reviews__icon { width: 42px; height: 42px; }
  .reviews__empty h3 { font-size: 1.18rem; line-height: 1.2; margin-bottom: 4px; }
  .reviews__empty p { font-size: 0.86rem; line-height: 1.5; }
  .reviews__empty .btn { grid-column: 1 / -1; }

  /* SouthStar Realty card on the phone home */
  .mhome__brand { gap: 8px; padding: 20px 18px; }
  .mhome__brand h3 { font-size: 1.35rem; }
  .mhome__kick { font-size: 0.58rem; letter-spacing: 0.12em; }
  .mhome__brand p { font-size: 0.88rem; line-height: 1.5; }
  .mhome__brand .btn { margin-top: 4px; }

  /* forms: shorter fields, day and time side by side, the three send buttons in one row */
  .formcard { padding: 18px 16px; }
  .form { gap: 14px; }
  .form .field { gap: 6px; }
  .field label, .field__label { font-size: 0.62rem; }
  .input, .textarea, .form select { min-height: 46px; padding: 10px 13px; font-size: 0.95rem; }
  .textarea { min-height: 96px; }
  .lotpick { min-height: 46px; padding: 10px 13px; gap: 6px 14px; }
  .lotpick__name { font-size: 0.88rem; }
  .form__row:has(input[type="date"]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .send-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .send-row .btn { flex-direction: column; gap: 5px; min-height: 58px; padding: 6px 4px; font-size: 0.56rem; letter-spacing: 0.08em; }
  .send-row .btn .icon { width: 18px; height: 18px; }
  .form__note { font-size: 0.78rem; }
}

/* ---------- the opening screen assembles: logo, then the name letter by letter, the REALTY lines, the gold rule,
   the headline word by word, the small line last. The screen fades into the film once it is all in place. ---------- */
.curtain__inner { opacity: 1; transform: none; transition: none; }
.curtain__emblem, .curtain__place { opacity: 0; transform: translate3d(0, 16px, 0); }
.curtain .brand__sub { opacity: 0; }
.curtain .brand__sub::before, .curtain .brand__sub::after { transform: scaleX(0); }
.curtain .brand__sub::before { transform-origin: right; } .curtain .brand__sub::after { transform-origin: left; }
.cpiece { display: inline-block; opacity: 0; transform: translate3d(calc((var(--i) - (var(--n) - 1) / 2) * 0.32em), 0.35em, 0); }
.cword { display: inline-block; opacity: 0; transform: translate3d(0, 0.6em, 0); }
.curtain.is-go .curtain__emblem { animation: cpiece-in 0.7s var(--ease) 0s forwards; }
.curtain.is-go .cpiece { animation: cpiece-in 0.6s var(--ease) calc(0.28s + var(--i) * 0.045s) forwards; }
.curtain.is-go .brand__sub { animation: cfade-in 0.5s var(--ease) 0.72s forwards; }
.curtain.is-go .brand__sub::before, .curtain.is-go .brand__sub::after { animation: cline-in 0.6s var(--ease-io) 0.78s forwards; }
.curtain.is-go .curtain__line i { transition: transform 0.7s var(--ease-io) 0.95s; }
.curtain.is-go .cword { animation: cpiece-in 0.55s var(--ease) calc(1.05s + var(--i) * 0.07s) forwards; }
.curtain.is-go .curtain__place { animation: cpiece-in 0.55s var(--ease) 1.45s forwards; }
.curtain.is-go { animation: curtain-out 0.8s var(--ease-io) 1.95s forwards; }
@keyframes cpiece-in { to { opacity: 1; transform: none; } }
@keyframes cfade-in { to { opacity: 1; } }
@keyframes cline-in { to { transform: scaleX(1); } }

/* ---------- the landing text assembles like the opening screen: top line, the headline word by word, the paragraph,
   then each button. Only opacity and position move. ---------- */
.hero__title .line { overflow: visible; }
.hero__title .line > span { transform: none; transition: none; }
.hero__title:not([data-split]) { opacity: 0; animation: hero-safety 0s linear 3s forwards; } /* never stays hidden */
@keyframes hero-safety { to { opacity: 1; } }
.hword { display: inline-block; opacity: 0; transform: translate3d(0, 0.45em, 0); }
.hero .hero__fade { opacity: 0; transform: translate3d(0, 18px, 0); transition: none; }
.hero__ctas.hero__fade { opacity: 1; transform: none; }
.hero__ctas .btn { opacity: 0; transform: translate3d(0, 16px, 0); }
.is-ready .hero .kicker.hero__fade { animation: cpiece-in 0.45s var(--ease) 0s forwards; }
.is-ready .hword { animation: cpiece-in 0.5s var(--ease) calc(0.06s + var(--i) * 0.045s) forwards; }
.is-ready .hero__lead.hero__fade { animation: cpiece-in 0.5s var(--ease) calc(0.12s + var(--words, 6) * 0.045s) forwards; }
.is-ready .hero__ctas .btn { animation: cpiece-in 0.45s var(--ease) calc(0.22s + var(--words, 6) * 0.045s) forwards; }
.is-ready .hero__ctas .btn + .btn { animation-delay: calc(0.3s + var(--words, 6) * 0.045s); }
@media (prefers-reduced-motion: reduce) {
  .hword, .hero .hero__fade, .hero__ctas .btn { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* nothing of the opening screen's words may show before the screen starts (they used to flash in a plain font while
   the page was still loading): the name and headline stay hidden until they have been split into pieces, and the
   gold rule's faint track waits for the start too */
.curtain .brand__name:not([data-split]), .curtain__title:not([data-split]) { opacity: 0; }
.curtain__line { opacity: 0; }
.curtain.is-go .curtain__line { opacity: 1; transition: opacity 0.4s var(--ease) 0.9s; }

/* newest-lots row: cards line up at the left edge (the last one too, thanks to the copy that follows it); snapping is
   switched off while the row glides by itself */
@media (max-width: 720px) {
  .mhome__strip { position: relative; scroll-padding-inline: var(--gutter); }
  .mcard--slide { scroll-snap-align: start; }
  .mhome__strip.is-gliding { scroll-snap-type: none; scroll-behavior: auto; }
}

/* prices: the "/ sqm" unit sits smaller beside the figure and never wraps alone; the line under it stays one tidy row */
.price strong .per, .xcard__price strong .per, .mcard__price .per, .pricecard__price .per { font-size: .62em; font-weight: 500; letter-spacing: 0; opacity: .72; white-space: nowrap; }

/* the photo count sits on the last small picture, not the main one; on a phone (side pictures hidden) it stays on the main one */
.gallery__more--main { display: none; }
@media (max-width: 760px) {
  .gallery__more--main { display: inline-flex; }
}

/* the three-picture grid: each picture is stretched to fill its box, so there are no empty gaps beside it */
.gallery:not(.gallery--one) .gallery__cell img { object-fit: fill; }

/* quick clicks on the photo viewer's arrows selected the picture, and the browser painted the gold selection colour
   over it; pictures and the viewer can't be selected, and a selected picture is never tinted */
.lightbox, .gallery { -webkit-user-select: none; user-select: none; }
img::selection { background: transparent; }

/* forms: one clear Send button (straight to SouthStar), then the apps as other ways; Text only where it can work */
.send-main { width: 100%; min-height: 54px; gap: 10px; letter-spacing: 0.14em; }
.form__done { display: grid; justify-items: center; gap: 12px; padding: 28px 8px; text-align: center; outline: none; }
.form__done .icon { width: 40px; height: 40px; padding: 9px; border: 1px solid var(--gold-2); border-radius: 50%; color: var(--gold-2); }
.form__done p { margin: 0; max-width: 34ch; color: #fff; font-size: 1.02rem; line-height: 1.55; }
.form__done b { font-weight: 600; white-space: nowrap; }

/* hero headline: room between the two lines, so the "p" of "piece" no longer touches the "l" of "Oriental" */
.hero__title { line-height: 1.12; }

/* "Which lot?": the chosen lot as a small card; Choose a lot / Change opens Lots for sale to pick one */
.lp { display: grid; }
.lp__pick { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 66px; padding: 7px 16px 7px 7px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); background: rgba(4, 16, 10, 0.55); color: #fff; text-align: left; text-decoration: none; transition: border-color 0.25s; }
.lp__pick:hover { border-color: var(--gold-2); }
.lp__pick:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.lp__img { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: var(--radius); background: #22302a; }
.lp__img > img { width: 100%; height: 100%; object-fit: cover; }
.lp__img--none { border: 1px dashed rgba(226, 207, 150, 0.45); background: transparent; color: var(--gold-soft); }
.lp__img--none .icon { width: 20px; height: 20px; }
.lp__txt { display: grid; flex: 1; gap: 3px; min-width: 0; }
.lp__txt strong, .lp__txt small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lp__txt strong { font-size: 0.98rem; font-weight: 500; }
.lp__txt small { color: var(--ink-3); font-size: 0.82rem; }
.lp__go { flex: none; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--gold-soft); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; }
.lp__tag { flex: none; color: #f3a98f; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 720px) { .lp__img { width: 46px; height: 46px; } .lp__pick { min-height: 60px; gap: 12px; padding-right: 12px; } }

/* Lots for sale in picking mode: the bar that says "tap a lot" */
.pickbar { position: fixed; left: 50%; bottom: 24px; z-index: 95; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 10px 10px 10px 18px; border: 1px solid var(--gold-2); border-radius: 99px; background: rgba(5, 18, 12, 0.97); color: #fff; font-size: 0.92rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9); transform: translateX(-50%); }
.pickbar .icon { flex: none; width: 18px; height: 18px; color: var(--gold-soft); }
.pickbar a { flex: none; padding: 9px 16px; border-radius: 99px; background: var(--gold-2); color: var(--night); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.pickbar a:hover { background: var(--gold-soft); }
@media (max-width: 720px) { .pickbar { bottom: calc(var(--mtabs) + env(safe-area-inset-bottom, 0px) + 12px); width: calc(100% - 24px); font-size: 0.82rem; } }
@media (max-width: 720px) { .pickbar__more { display: none; } }

/* Messenger / WhatsApp (and Text on phones) under the forms: a clear second way to send */
.chat { display: grid; gap: 14px; }
.chat-or { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--ink-3); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; }
.chat-or::before, .chat-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.12); }
.chat-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chat-apps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chat-app { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); background: rgba(4, 16, 10, 0.55); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.chat-app:hover { border-color: var(--gold-2); background: rgba(255, 255, 255, 0.05); transform: translateY(-1px); }
.chat-app:active { transform: none; }
.chat-app:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.chat-app__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.8); }
.chat-app__icon .icon { width: 22px; height: 22px; }
.chat-app--messenger .chat-app__icon { background: linear-gradient(140deg, #00b2ff, #006aff); }
.chat-app--whatsapp .chat-app__icon { background: #25d366; }
.chat-app--sms .chat-app__icon { background: var(--gold-2); color: var(--night); }
.chat-app__txt { display: grid; gap: 3px; min-width: 0; }
.chat-app__txt strong { font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; }
.chat-app__txt small { overflow: hidden; color: var(--ink-3); font-size: 0.78rem; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 720px) {
  .chat-apps { gap: 8px; }
  .chat-app { flex-direction: column; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 6px; text-align: center; }
  .chat-app__txt small { display: none; }
  .chat-app__txt strong { font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) { .chat-app { transition: none; } .chat-app:hover { transform: none; } }

/* Get a quote: one form in a card with a soft gold glow */
.formcard:has(form.bk) { position: relative; overflow: hidden; background: radial-gradient(85% 55% at 100% 0%, rgba(201, 165, 74, 0.14), transparent 62%), radial-gradient(70% 50% at 0% 100%, rgba(33, 128, 84, 0.2), transparent 70%), #0b2619; }
.bk { gap: 20px; }
.bk [hidden] { display: none !important; }
.qf__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.qf__free { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); font-size: 0.8rem; }
.qf__free .icon { width: 16px; height: 16px; stroke-width: 2; }
.bk__hint { margin: -10px 0 0; color: var(--ink-3); font-size: 0.82rem; line-height: 1.5; }

/* × on a chosen lot: back to "not sure yet" */
.lp { position: relative; }
.lp__clear { position: absolute; top: 50%; right: 12px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(226, 207, 150, 0.35); border-radius: 50%; background: transparent; color: var(--gold-soft); cursor: pointer; transform: translateY(-50%); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.lp__clear:hover { border-color: var(--gold-2); background: var(--gold-2); color: var(--night); }
.lp:has(.lp__clear:not([hidden])) .lp__pick { padding-right: 58px; }
.lp__clear:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.lp__clear .icon { width: 14px; height: 14px; stroke-width: 2.2; }

/* Price & payment plan: one calculator (1 your lot, 2 your payment, one result) */
.plan__step { display: flex; align-items: center; gap: 12px; padding-top: 4px; color: #fff; font-family: var(--serif); font-size: 1.2rem; }
.plan__step b { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--gold-2); border-radius: 50%; color: var(--gold-soft); font: 600 0.78rem/1 var(--sans); }
.plan__step::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.plan .size-input input { width: 150px; }
.plan__rate { margin: 4px 0 0; color: #fff; font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan__rate small { color: var(--ink-3); font-size: 0.9rem; font-weight: 400; }
.plan__rows .plan__calc { margin-top: -6px; }
.plan__rows .plan__calc dt { color: var(--ink-3); font-size: 0.84rem; }

/* Price & payment plan: − / + on the size box, a short "after the down payment" line under the monthly */
.stepper { display: flex; }
.stepper button { width: 46px; height: 50px; padding: 0; border: 1px solid var(--edge); background: rgba(4, 16, 10, 0.55); color: #fff; font: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.stepper button:hover { border-color: var(--edge-hot); background: rgba(201, 165, 74, 0.12); }
.stepper button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stepper button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.plan .stepper input { width: 110px; height: 50px; margin: 0 -1px; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.stepper input:focus { position: relative; z-index: 1; }
.plan__after { color: var(--gold-soft); font-size: 0.92rem; }

/* closing section: "Looking for land of your own?" and the client reviews side by side, smaller than two full-width boxes */
.closing__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 20px; align-items: stretch; }
.closing .journey { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 24px; padding: clamp(26px, 3.4vw, 46px); }
.closing .journey > div:first-child { gap: 14px; }
.closing .journey .h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; }
.closing .reviews { display: grid; align-content: start; gap: 14px; padding: clamp(22px, 2.6vw, 32px); background: var(--glass), #0b2619; border: 1px solid var(--edge); }
.closing .reviews .kicker { color: var(--gold-soft); }
.closing .reviews__empty { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0; border: 0; background: none; }
.closing .reviews__empty h3 { margin: 0; font-size: 1.35rem; }
.closing .reviews__empty p { font-size: 0.9rem; line-height: 1.55; }
.closing .rstars--empty { color: rgba(226, 207, 150, 0.35); font-size: 1.05rem; letter-spacing: 0.12em; }
.closing .reviews__list { display: grid; gap: 12px; }
.closing .review { gap: 10px; padding: 16px 18px; }
.closing .review blockquote { font-size: 0.95rem; }
.closing .reviews .btn { justify-self: start; }
@media (max-width: 860px) { .closing__grid { grid-template-columns: minmax(0, 1fr); } }
/* the gold glow and gold top line belong to the reviews card in the closing row, not the land-journey box */
.closing .journey { background: var(--glass), #0b2619; }
.closing .journey::before { display: none; }
.closing .reviews { position: relative; background: radial-gradient(420px 300px at 92% 100%, rgba(201, 165, 74, 0.2), transparent 62%), var(--glass), #0b2619; }
.closing .reviews::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: linear-gradient(90deg, rgba(226, 207, 150, 0), #e6c764 22%, #a8842c 78%, rgba(226, 207, 150, 0)); }

/* Price & payment plan in the Del'Amo two-panel layout: inputs on the left, the monthly on a deep panel on the right */
.pcalc__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.pcalc__lead { margin: 8px 0 18px; color: rgba(255, 255, 255, 0.78); }
.pcalc__lead strong { color: var(--gold-soft); font-weight: 500; }
.pcalc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); overflow: hidden; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--glass), #0b2619; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9); }
.pcalc__inputs { display: grid; align-content: start; gap: 30px; padding: clamp(24px, 3.4vw, 46px); }
.pcalc__row { display: grid; gap: 14px; }
.pcalc__label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; color: var(--ink-3); font: 500 0.68rem/1.3 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.pcalc__label span { color: var(--gold-soft); font-size: 0.82rem; letter-spacing: 0; text-transform: none; }
.pcalc__big { display: flex; align-items: baseline; gap: 10px; margin: 0; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font: 500 clamp(2rem, 3.4vw, 2.8rem)/1.05 var(--serif); }
.pcalc__big input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; -moz-appearance: textfield; }
.pcalc__big input::-webkit-outer-spin-button, .pcalc__big input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.pcalc__big input:focus { outline: none; }
.pcalc__big:focus-within { border-color: var(--gold-2); }
.pcalc__big span { color: var(--gold-soft); font-size: 0.5em; }
.pcalc__big--fixed { color: var(--gold-soft); }
.pcalc__hint { color: var(--ink-3); font-size: 0.86rem; }
.pcalc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --fill: 30%; }
.pcalc__range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--gold-2) var(--fill), rgba(255, 255, 255, 0.18) var(--fill)); }
.pcalc__range::-moz-range-track { height: 2px; background: rgba(255, 255, 255, 0.18); }
.pcalc__range::-moz-range-progress { height: 2px; background: var(--gold-2); }
.pcalc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border: 2px solid var(--gold-2); border-radius: 50%; background: #0b2619; box-shadow: 0 0 0 5px rgba(201, 165, 74, 0.22); transition: transform 0.25s var(--ease); }
.pcalc__range::-moz-range-thumb { width: 18px; height: 18px; border: 2px solid var(--gold-2); border-radius: 50%; background: #0b2619; box-shadow: 0 0 0 5px rgba(201, 165, 74, 0.22); }
.pcalc__range:active::-webkit-slider-thumb { transform: scale(1.15); }
.pcalc__range:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
.pcalc__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pcalc__pills button { height: 40px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; background: transparent; color: rgba(255, 255, 255, 0.86); font: 500 0.74rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.pcalc__pills button:hover { border-color: var(--gold-2); }
.pcalc__pills button[aria-pressed="true"] { border-color: var(--gold-2); background: var(--gold-2); color: var(--night); }
.pcalc__pills button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.pcalc__result { position: relative; display: grid; align-content: space-between; gap: 26px; overflow: hidden; padding: clamp(24px, 3.4vw, 46px); background: linear-gradient(160deg, #0a2a1a, #04130b); color: rgba(255, 255, 255, 0.78); }
.pcalc__result::before { content: ""; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; border: 1px solid rgba(201, 165, 74, 0.25); border-radius: 50%; pointer-events: none; }
.pcalc__result::after { content: ""; position: absolute; top: -10px; right: -10px; width: 140px; height: 140px; border: 1px solid rgba(201, 165, 74, 0.18); border-radius: 50%; pointer-events: none; }
.pcalc__result .kicker { color: var(--gold-soft); }
.pcalc__monthly { margin: 14px 0 8px; color: var(--gold-soft); font: 500 clamp(2.6rem, 4.6vw, 4rem)/1 var(--serif); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pcalc__monthly small { margin-left: 6px; color: rgba(255, 255, 255, 0.7); font-family: var(--sans); font-size: 0.3em; letter-spacing: 0.1em; text-transform: uppercase; }
.pcalc__rows { display: grid; margin: 0; }
.pcalc__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px dashed rgba(255, 255, 255, 0.16); font-size: 0.95rem; }
.pcalc__rows dt { color: rgba(255, 255, 255, 0.66); }
.pcalc__rows dd { margin: 0; color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.pcalc__rows .pcalc__total dt, .pcalc__rows .pcalc__total dd { color: var(--gold-soft); }
.pcalc__go { width: 100%; }
.pcalc__note { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; line-height: 1.5; }
@media (max-width: 900px) { .pcalc { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .pcalc__pills button, .pcalc__range::-webkit-slider-thumb { transition: none; } }
/* calculator fits the lot page's column: equal panels, tighter padding and pills, the monthly on one line */
.pcalc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pcalc__inputs { gap: 26px; padding: clamp(22px, 2.8vw, 34px); }
.pcalc__result { gap: 22px; padding: clamp(22px, 2.8vw, 32px); }
.pcalc__pills { gap: 7px; }
.pcalc__pills button { height: 38px; padding: 0 12px; }
.pcalc__monthly { white-space: nowrap; font-size: clamp(2.2rem, 3.4vw, 3rem); font-variant-numeric: normal; }
.pcalc__rows div { font-size: 0.92rem; }
.pcalc__rows dd { white-space: nowrap; }
@media (max-width: 900px) { .pcalc { grid-template-columns: minmax(0, 1fr); } }

/* calculator matched to the Asking price card: gold top border, one dark green card with a thin divider,
   plain bold numbers (no decorative serif digits), solid row lines, no rings */
.pcalc { border-top: 3px solid var(--gold); background: var(--glass), #0b2619; box-shadow: none; }
.pcalc__result { background: transparent; border-left: 1px solid var(--edge); }
.pcalc__result::before, .pcalc__result::after { display: none; }
.pcalc__big { font: 600 clamp(1.8rem, 2.6vw, 2.2rem)/1.15 var(--sans); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.pcalc__big span { color: rgba(255, 255, 255, 0.72); font-size: 0.5em; font-weight: 500; letter-spacing: 0; }
.pcalc__big--fixed { color: #fff; }
.pcalc__monthly { color: #fff; font: 600 clamp(1.9rem, 2.8vw, 2.4rem)/1.15 var(--sans); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.pcalc__monthly small { margin-left: 4px; color: rgba(255, 255, 255, 0.72); font-family: var(--sans); font-size: 0.5em; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pcalc__rows div { padding: 13px 0; border-top: 0; border-bottom: 1px solid var(--edge); font-size: 0.94rem; }
.pcalc__rows div:first-child { border-top: 1px solid var(--edge); }
.pcalc__rows dt { color: var(--ink-3); }
.pcalc__rows dd { font-weight: 600; }
@media (max-width: 900px) { .pcalc__result { border-left: 0; border-top: 1px solid var(--edge); } }
/* the choices half is darker than the Estimated monthly half, so the two read as two boxes */
.pcalc__inputs { background: linear-gradient(160deg, #071c11, #04120a); }

/* review window: a reason to write, big stars with a word, a counter, the gold glow of the quote card */
.sheet--review { background: radial-gradient(80% 50% at 100% 0%, rgba(201, 165, 74, 0.14), transparent 62%), var(--glass), #0b2619; }
.review__lead { margin: 0; color: rgba(255, 255, 255, 0.74); font-size: 0.95rem; }
.review__rate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 16px; border: 1px solid var(--edge); border-radius: var(--radius); background: rgba(4, 16, 10, 0.45); }
.sheet--review .rpick { gap: 6px; }
.sheet--review .rpick span { font-size: 2.3rem; }
.sheet--review .rpick label:focus-within span { text-shadow: 0 0 0 transparent; outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.review__say { color: var(--gold-soft); font-family: var(--serif); font-size: 1.35rem; }
.review__hint { color: var(--ink-3); font-size: 0.82rem; }
.review__count { float: right; color: var(--ink-3); letter-spacing: 0.04em; text-transform: none; }
.sheet--review textarea:focus { border-color: var(--gold-2); outline: none; }

/* review window, richer: wider with a live preview of the review, a gold star ornament, glowing stars */
.sheet--review { width: min(900px, calc(100vw - 24px)); }
.review__orn { display: flex; align-items: center; gap: 14px; margin: -8px 0 22px; color: var(--gold-soft); font-size: 0.8rem; }
.review__orn::before, .review__orn::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(226, 207, 150, 0.45)); }
.review__orn::after { background: linear-gradient(90deg, rgba(226, 207, 150, 0.45), transparent); }
.review__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 28px; align-items: start; }
.review__rate { border-color: rgba(226, 207, 150, 0.35); background: linear-gradient(180deg, rgba(201, 165, 74, 0.1), rgba(4, 16, 10, 0.4)); }
.sheet--review .rpick label:hover span, .sheet--review .rpick label:hover ~ label span, .sheet--review .rpick label:has(input:checked) span, .sheet--review .rpick label:has(input:checked) ~ label span { text-shadow: 0 0 14px rgba(230, 199, 100, 0.5); }
.review__preview { position: sticky; top: 0; display: grid; gap: 12px; }
.review__ptitle { color: var(--ink-3); font: 500 0.66rem/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; }
.review--preview { position: relative; overflow: hidden; min-height: 220px; padding: 26px 24px 22px; border: 1px solid rgba(226, 207, 150, 0.3); background: radial-gradient(90% 70% at 100% 0%, rgba(201, 165, 74, 0.16), transparent 65%), #08200f; }
.review--preview::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #e6c764 25%, #a8842c 75%, transparent); }
.review__quote { position: absolute; top: -18px; right: 14px; color: rgba(226, 207, 150, 0.14); font: 400 7.5rem/1 var(--serif); pointer-events: none; }
.review--preview .rstars { position: relative; font-size: 1.15rem; }
.review--preview blockquote { position: relative; margin: 0; color: #fff; font: italic 400 1.2rem/1.5 var(--serif); overflow-wrap: anywhere; }
.review--preview figcaption { position: relative; color: var(--gold-soft); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.review--preview figcaption::before { content: "— "; }
.review__pnote { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink-3); font-size: 0.8rem; }
.review__pnote .icon { width: 15px; height: 15px; color: var(--gold-soft); }
@media (max-width: 820px) { .sheet--review { width: min(600px, calc(100vw - 24px)); } .review__body { grid-template-columns: minmax(0, 1fr); } .review__preview { display: none; } }

/* review stars: drawn stars, gold gradient + glow when lit, gold outline when empty; pointing lights up to that star */
.sheet--review .rpick { gap: 8px; }
.sheet--review .rpick label { display: grid; place-items: center; padding: 2px; border-radius: 6px; }
.sheet--review .rpick .rstar { width: 42px; height: 42px; fill: transparent; stroke: rgba(226, 207, 150, 0.5); stroke-width: 1.3; stroke-linejoin: round; transition: fill 0.2s, stroke 0.2s, transform 0.2s var(--ease), filter 0.2s; }
.sheet--review .rpick label:has(input:checked) .rstar, .sheet--review .rpick label:has(input:checked) ~ label .rstar { fill: url(#ss-star); stroke: #f3d982; filter: drop-shadow(0 0 7px rgba(230, 199, 100, 0.45)); }
.sheet--review .rpick:hover label:has(input) .rstar { fill: transparent; stroke: rgba(226, 207, 150, 0.5); filter: none; }
.sheet--review .rpick label:hover:has(input) .rstar, .sheet--review .rpick label:hover ~ label:has(input) .rstar { fill: url(#ss-star); stroke: #f3d982; filter: drop-shadow(0 0 9px rgba(230, 199, 100, 0.55)); }
.sheet--review .rpick label:hover .rstar { transform: scale(1.14); }
.sheet--review .rpick label:has(input:checked) .rstar { animation: starpop 0.35s var(--ease); }
.sheet--review .rpick label:focus-within { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
@keyframes starpop { 0% { transform: scale(0.8); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }
@media (max-width: 520px) { .sheet--review .rpick .rstar { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .sheet--review .rpick .rstar { transition: none; animation: none !important; } .sheet--review .rpick label:hover .rstar { transform: none; } }

/* review window, clean and minimal: flat gold stars (outline when empty), no glow, no frames, plain hairline */
.sheet--review { background: var(--glass), #0b2619; }
.review__orn { display: block; height: 1px; margin: -6px 0 24px; background: var(--edge); }
.review__orn::before, .review__orn::after { display: none; }
.review__rate { padding: 0; border: 0; background: none; gap: 8px 16px; }
.sheet--review .rpick { gap: 6px; }
.sheet--review .rpick label { padding: 2px; border-radius: 4px; }
.sheet--review .rpick .rstar,
.sheet--review .rpick label:hover .rstar { width: 30px; height: 30px; fill: transparent; stroke: rgba(226, 207, 150, 0.45); stroke-width: 1.2; filter: none; transform: none; animation: none; transition: fill 0.15s, stroke 0.15s; }
.sheet--review .rpick label:has(input:checked) .rstar, .sheet--review .rpick label:has(input:checked) ~ label .rstar,
.sheet--review .rpick label:hover:has(input) .rstar, .sheet--review .rpick label:hover ~ label:has(input) .rstar { fill: #d4b25a; stroke: #d4b25a; filter: none; }
.sheet--review .rpick:hover label:not(:hover):has(~ label:hover) .rstar { fill: transparent; stroke: rgba(226, 207, 150, 0.45); }
.review__say { color: rgba(255, 255, 255, 0.8); font-family: var(--sans); font-size: 0.92rem; }
.review--preview { min-height: 0; padding: 22px; border: 1px solid var(--edge); border-top: 2px solid var(--gold); background: rgba(4, 16, 10, 0.45); }
.review--preview::before { display: none; }
.review--preview .rstars { font-size: 1rem; }
.review--preview blockquote { font-size: 1.12rem; color: rgba(255, 255, 255, 0.92); }

/* review stars = the same simple ★ as the Client reviews card: gold when chosen, faint gold-grey when not */
.sheet--review .rpick { gap: 2px; }
.sheet--review .rpick label { padding: 0 1px; }
.sheet--review .rpick .rstar,
.sheet--review .rpick label:hover .rstar,
.sheet--review .rpick:hover label:has(input) .rstar,
.sheet--review .rpick:hover label:not(:hover):has(~ label:hover) .rstar { width: auto; height: auto; color: rgba(226, 207, 150, 0.35); font-size: 1.6rem; line-height: 1; letter-spacing: 0; transform: none; filter: none; animation: none; transition: color 0.15s; }
.sheet--review .rpick label:has(input:checked) .rstar, .sheet--review .rpick label:has(input:checked) ~ label .rstar { color: #e6c764; }
.sheet--review .rpick:hover label:hover .rstar, .sheet--review .rpick:hover label:hover ~ label .rstar { color: #e6c764; }
.sheet--review .rpick .rstar { text-shadow: none !important; }
/* no gold box when a star is clicked; the outline shows only for keyboard users (Tab), who need to see where they are */
.sheet--review .rpick label:focus-within, .sheet--review .rpick label:focus-within span { outline: none; }
.sheet--review .rpick label:has(input:focus-visible) { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.review__opt { color: var(--ink-3); font-size: 0.9em; letter-spacing: 0.04em; text-transform: none; }
