:root {
  --ink: #181613;
  --cream: #f4efe6;
  --paper: #f9f8f6;
  --sage: #5a9075;
  --sage-dark: #3e6e58;
  --sand: #e4e0da;
  --white: #ffffff;
  --radius: 4px;
  --max: 80rem;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-heading: "Montserrat", system-ui, sans-serif;
  --shadow-card: 0 20px 60px -40px rgb(24 22 19 / 45%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--sage-dark);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
.font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1,
h2,
h3 {
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

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

.kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
}

.btn-sage:hover {
  background: var(--sage-dark);
  color: var(--white);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: var(--sage-dark);
  color: var(--white);
}

.btn-ghost {
  border-color: rgb(255 255 255 / 35%);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  background: rgb(255 255 255 / 10%);
  color: var(--white);
}

.btn-outline {
  border-color: rgb(24 22 19 / 20%);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-paper {
  border-color: rgb(24 22 19 / 15%);
  background: var(--paper);
  color: var(--ink);
}

.btn-paper:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
}

/* Header */
.site-header {
  z-index: 40;
  overflow-anchor: none;
}

html.is-header-resizing * {
  overflow-anchor: none;
}

.site-header--light {
  position: absolute;
  inset: 0 0 auto;
  color: var(--white);
}

.site-header--dark {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--ink);
  background: rgb(249 248 246 / 96%);
  border-bottom: 1px solid rgb(24 22 19 / 10%);
  backdrop-filter: blur(12px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  transition: padding 0.25s ease;
}

.site-header--dark.is-scrolled .site-header__bar {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: min(10.5rem, 62vw);
  height: auto;
  transition: width 0.25s ease;
}

.site-header--dark.is-scrolled .logo img {
  width: min(8.5rem, 50vw);
}

@media (min-width: 768px) {
  .logo img {
    width: 12.5rem;
  }

  .site-header--dark.is-scrolled .logo img {
    width: 10rem;
  }
}

.nav-desktop,
.header-actions {
  display: none;
}

.nav-desktop {
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header--light .nav-link {
  color: rgb(255 255 255 / 80%);
}

.site-header--light .nav-link:hover,
.site-header--light .nav-link.is-active {
  color: var(--white);
}

.site-header--dark .nav-link {
  color: rgb(24 22 19 / 70%);
}

.site-header--dark .nav-link:hover,
.site-header--dark .nav-link.is-active {
  color: var(--ink);
}

.header-phone {
  font-size: 0.95rem;
  font-weight: 500;
}

.site-header--light .header-phone {
  color: rgb(255 255 255 / 85%);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-toggle__close,
.site-header.is-open .nav-toggle__open {
  display: none;
}

.site-header.is-open .nav-toggle__close {
  display: block;
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgb(24 22 19 / 10%);
}

.site-header--light .nav-mobile {
  background: rgb(24 22 19 / 95%);
  border-top-color: rgb(255 255 255 / 10%);
  color: var(--white);
}

.site-header--dark .nav-mobile {
  background: var(--cream);
}

.site-header.is-open .nav-mobile {
  display: block;
}

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.25rem;
}

.nav-mobile a {
  padding: 0.75rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .nav-desktop,
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--cream);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgb(24 22 19 / 8%);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  font-size: 0.8rem;
  color: rgb(24 22 19 / 55%);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.6rem;
  color: rgb(24 22 19 / 30%);
}

.breadcrumbs a:hover {
  color: var(--sage-dark);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero--home {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.hero--page {
  min-height: 22rem;
}

.hero--house {
  min-height: 92svh;
}

.hero__media {
  position: absolute;
  inset: 0;
}

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

.hero--page .hero__media img {
  opacity: 0.6;
}

.hero__shade,
.hero__shade-b {
  position: absolute;
  inset: 0;
}

.hero__shade {
  background: linear-gradient(to right, rgb(24 22 19 / 72%), rgb(24 22 19 / 35%), rgb(24 22 19 / 10%));
}

.hero__shade-b {
  background: linear-gradient(to top, rgb(24 22 19 / 80%), transparent, rgb(24 22 19 / 25%));
}

.hero--page .hero__shade {
  background: linear-gradient(to top, var(--ink), rgb(24 22 19 / 55%), rgb(24 22 19 / 25%));
}

.hero--house .hero__shade {
  background: linear-gradient(to right, rgb(24 22 19 / 80%), rgb(24 22 19 / 40%), transparent);
}

.hero__inner {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 6rem;
  padding-bottom: 1.5rem;
}

.hero--house .hero__inner {
  min-height: 92svh;
  justify-content: flex-end;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero h1 {
  margin-top: 0.75rem;
  max-width: 56rem;
  font-size: 2.55rem;
  line-height: 1.08;
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgb(255 255 255 / 88%);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__note {
  margin-top: 0.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 55%);
}

.hero-stats {
  position: relative;
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: rgb(24 22 19 / 75%);
  backdrop-filter: blur(12px);
}

.hero-stats dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-stats div {
  padding: 1rem 1.25rem;
  border-color: rgb(255 255 255 / 10%);
}

.hero-stats dt {
  color: rgb(255 255 255 / 50%);
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .hero__lead {
    font-size: 1.125rem;
  }

  .hero__actions {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-stats dl {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-stats div {
    padding: 1.25rem 2rem;
    border-left: 1px solid rgb(255 255 255 / 10%);
  }

  .hero-stats div:first-child {
    border-left: 0;
  }

  .hero-stats dd {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    justify-content: center;
    padding-top: 7rem;
  }

  .hero--home h1 {
    font-size: 5.4rem;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--white); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section h2,
.display {
  font-size: 2.25rem;
}

.muted {
  color: rgb(24 22 19 / 70%);
}

.muted-soft {
  color: rgb(24 22 19 / 55%);
}

.lead {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.75;
}

.dot-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.dot-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(24 22 19 / 80%);
}

.dot-list i {
  flex: 0 0 auto;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--sage);
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

.split-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .section { padding: 7rem 0; }
  .section-tight { padding: 6rem 0; }
  .section h2,
  .display { font-size: 3rem; }
  .dot-list { grid-template-columns: 1fr 1fr; gap: 1.25rem 3rem; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
  .split-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .split-head > .btn {
    flex: 0 0 auto;
    align-self: center;
    justify-content: center;
    text-align: center;
    padding-right: calc(1.5rem - 0.14em);
  }
  .hero--page { min-height: 28rem; }
  .hero--page h1 { font-size: 4.5rem; }
}

/* Plot cards */
.plot-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.plot-card__media {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--sand);
}

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

.badge {
  position: absolute;
  top: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.badge--status { left: 0.75rem; background: rgb(24 22 19 / 80%); }
.badge--promo { right: 0.75rem; background: var(--sage); }
.badge--inline {
  position: static;
  background: var(--sage);
}

.status-text {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.plot-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.plot-card h3,
.plot-price {
  margin-top: 0.5rem;
  font-size: 1.875rem;
}

.plot-card .plot-price { margin-top: 1rem; }

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgb(24 22 19 / 10%);
  border-bottom: 1px solid rgb(24 22 19 / 10%);
  font-size: 0.9rem;
}

.meta-grid dt {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(24 22 19 / 40%);
}

.plot-card__pitch {
  flex: 1 1 auto;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(24 22 19 / 65%);
}

.plot-card .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* Plot detail rows */
.plot-row {
  display: grid;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
}

.plot-row img {
  width: 100%;
  min-height: 17.5rem;
  height: 100%;
  object-fit: cover;
}

.plot-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem;
}

.plot-row h2 {
  margin-top: 0.75rem;
  font-size: 3rem;
}

.plot-row .plot-price {
  margin-top: 0.5rem;
  font-size: 1.875rem;
}

.plot-row .meta-grid {
  gap: 1.25rem;
  border: 0;
  padding: 0;
  margin-top: 2rem;
}

.plot-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .plot-row__body { padding: 2.5rem; }
}

@media (min-width: 1024px) {
  .plot-row { grid-template-columns: 1.1fr 1fr; }
}

/* Comparison */
.compare {
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  scroll-margin-top: 6rem;
}

.compare__intro {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgb(24 22 19 / 10%);
}

.compare__scroll {
  overflow-x: auto;
}

.compare table {
  width: 100%;
  min-width: 64rem;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.compare th,
.compare td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgb(24 22 19 / 10%);
  vertical-align: top;
}

.compare th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--paper);
}

.compare-price {
  white-space: nowrap;
}

.compare-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgb(24 22 19 / 55%);
}

.compare td ul {
  margin: 0;
  padding-left: 1.05rem;
}

.compare td li + li {
  margin-top: 0.2rem;
}

.compare thead th {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
}

.compare tbody th {
  font-weight: 500;
  color: rgb(24 22 19 / 45%);
}

@media (min-width: 640px) {
  .compare__intro { padding: 1.5rem 2rem; }
  .compare th:first-child,
  .compare td:first-child { padding-left: 2rem; }
}

/* House split + locality */
.media-split {
  display: grid;
}

.media-split__photo {
  position: relative;
  min-height: 20rem;
}

.media-split__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.25rem;
}

.steps {
  margin-top: 2rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.step-n {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--sage);
}

.locality {
  display: grid;
  gap: 3rem;
}

.distance-list {
  margin-top: 2rem;
  border-top: 1px solid rgb(24 22 19 / 10%);
  border-bottom: 1px solid rgb(24 22 19 / 10%);
}

.distance-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgb(24 22 19 / 10%);
  font-size: 0.9rem;
}

.distance-list li:first-child {
  border-top: 0;
}

.distance-list span:last-child {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.photo-captioned {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.photo-captioned img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-captioned p {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: rgb(24 22 19 / 80%);
  color: var(--white);
  font-size: 0.9rem;
}

.trust-list {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.trust-list p:last-child {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(24 22 19 / 65%);
}

.inquiry-split {
  display: grid;
  gap: 3rem;
}

.inquiry-box {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.phone-xl {
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-size: 2.25rem;
}

.rounded-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

@media (min-width: 640px) {
  .media-split__copy { padding: 4rem 3rem; }
  .photo-captioned img { aspect-ratio: 5 / 4; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .inquiry-box { padding: 2rem; }
}

@media (min-width: 1024px) {
  .media-split { grid-template-columns: 1fr 1fr; }
  .media-split__photo { min-height: 35rem; }
  .media-split__copy { padding: 4rem; }
  .locality {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .photo-captioned img { aspect-ratio: 4 / 5; }
  .inquiry-split { grid-template-columns: 1.1fr 0.9fr; }
  .section h2.display-xl,
  .display-xl { font-size: 3.75rem; }
}

/* House units + floors */
.unit-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.unit-card {
  background: rgb(255 255 255 / 5%);
  border-radius: var(--radius);
  padding: 2rem;
}

.unit-card h3 {
  margin-top: 0.5rem;
  font-size: 3rem;
}

.unit-card .muted {
  margin-top: 0.75rem;
  color: rgb(255 255 255 / 70%);
}

.unit-card ul {
  margin-top: 1.5rem;
}

.unit-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.9rem;
}

.unit-card li span:first-child {
  color: rgb(255 255 255 / 70%);
}

.stat-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-dl dd {
  margin: 0.25rem 0 0;
  font-family: var(--font-heading);
  font-size: 2.25rem;
}

.floor-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.floor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
}

.floor-card img {
  width: 100%;
  object-fit: contain;
}

.floor-card figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(24 22 19 / 50%);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-grid img.is-plan {
  object-fit: contain;
  background: var(--white);
  padding: 1.5rem;
}

.cta-band {
  text-align: center;
}

.cta-band .lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 36rem;
  margin: 2.5rem auto 0;
}

.cta-actions .btn,
.hero__actions .btn,
.cookie-bar__actions .btn {
  line-height: 1.25;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
}

@media (min-width: 768px) {
  .floor-grid,
  .gallery-grid,
  .unit-grid { grid-template-columns: 1fr 1fr; }
}

/* Forms */
.inquiry-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label,
.form-row .form-label,
legend {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(24 22 19 / 55%);
}

.form-row input,
.form-row select,
.form-row textarea,
.inquiry-form input:not([type="checkbox"]):not([type="hidden"]),
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgb(24 22 19 / 15%);
  border-radius: var(--radius);
  background: var(--white);
}

.inquiry-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--sage);
}

.form-errors,
.form-error {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8a2b2b;
  font-size: 0.8rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.form-check input {
  width: auto;
  min-height: 0;
  margin-top: 0.2rem;
}

.form-check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgb(24 22 19 / 75%);
  line-height: 1.5;
}

.form-note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgb(24 22 19 / 50%);
}

.form-feedback {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form-feedback--success {
  background: rgb(90 144 117 / 12%);
  border: 1px solid rgb(90 144 117 / 30%);
}

.form-feedback--error {
  background: #f8eaea;
  border: 1px solid #e2b6b6;
}

.form-thanks {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgb(90 144 117 / 30%);
  background: rgb(90 144 117 / 10%);
  border-radius: var(--radius);
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

/* Legal */
.legal {
  padding: 4rem 0 6rem;
}

.legal h1 {
  margin-top: 0.75rem;
  font-size: 2.75rem;
}

.legal-body {
  max-width: 46rem;
  margin-top: 2rem;
}

.legal-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.75rem;
}

.legal-body p,
.legal-body li {
  margin-top: 0.85rem;
  line-height: 1.75;
  color: rgb(24 22 19 / 75%);
}

.legal-body ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body code {
  font-size: 0.85em;
  background: var(--sand);
  padding: 0.1em 0.35em;
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
}

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

.footer-grid {
  display: grid;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-kicker {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.footer-grid ul {
  margin-top: 1rem;
}

.footer-grid li {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgb(244 239 230 / 80%);
}

.footer-copy {
  max-width: 24rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(244 239 230 / 70%);
}

.footer-bar {
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.footer-bar .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.75rem;
  color: rgb(244 239 230 / 45%);
}

.footer-bar a {
  color: rgb(244 239 230 / 70%);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 640px) {
  .footer-bar .wrap {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 639px) {
  .footer-grid {
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .site-footer > .wrap,
  .footer-bar .wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 60;
  max-width: 32rem;
  margin-left: auto;
  padding: 1.25rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgb(24 22 19 / 12%);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgb(24 22 19 / 18%);
}

.cookie-bar[hidden] {
  display: none !important;
}

.cookie-bar h2 {
  font-size: 1.5rem;
}

.cookie-bar p {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(24 22 19 / 70%);
}

.cookie-bar__links {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
}

.cookie-bar__links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.6rem;
  margin-top: 1rem;
}

.cookie-bar__actions .btn {
  flex: 1 1 8rem;
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgb(24 22 19 / 95%);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 -12px 40px rgb(24 22 19 / 35%);
}

.mobile-cta.is-visible {
  display: flex;
}

.mobile-cta p {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.mobile-cta strong {
  display: block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-cta .btn {
  min-height: 2.75rem;
  padding: 0 1rem;
  font-size: 0.68rem;
}

@media (min-width: 1024px) {
  .mobile-cta {
    display: none !important;
  }
}

body.has-mobile-cta {
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  body.has-mobile-cta {
    padding-bottom: 0;
  }
}

/* Contact extras */
.contact-hero {
  padding: 4rem 0 6rem;
}

.contact-hero h1 {
  margin-top: 0.75rem;
  font-size: 3rem;
  line-height: 1.12;
}

.contact-dl {
  margin-top: 2.5rem;
}

.contact-dl div + div {
  margin-top: 1.25rem;
}

.contact-dl dd {
  margin: 0.25rem 0 0;
}

.contact-banner {
  position: relative;
  height: 18rem;
  overflow: hidden;
  background: var(--ink);
}

.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .contact-hero h1 { font-size: 4.5rem; }
  .contact-banner { height: 24rem; }
}

/* Error pages */
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
}

.error-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.25rem;
}

.error-page h1 {
  font-size: 4rem;
}

/* Plot sold */
.plot-card.is-sold .btn,
.plot-row.is-sold .btn {
  pointer-events: none;
  opacity: 0.45;
}

#parcely,
#dum,
#interier,
#lokalita,
#kontakt,
#poptavka,
#vizualizace,
#video,
#faq {
  scroll-margin-top: 8rem;
}

.plot-map {
  position: relative;
  margin: 2rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}

.plot-map__stage {
  position: relative;
}

.plot-map img {
  display: block;
  width: 100%;
  height: auto;
}

.plot-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.plot-map a {
  cursor: pointer;
  outline: none;
}

.plot-map polygon {
  fill: rgb(90 144 117 / 22%);
  stroke: #3e6e58;
  stroke-width: 0.35;
  transition: fill 0.16s ease, stroke 0.16s ease;
}

.plot-map a:hover polygon,
.plot-map a:focus polygon,
.plot-map a.is-active polygon {
  fill: rgb(90 144 117 / 62%);
  stroke: #f9f8f6;
}

.plot-map text {
  font-family: var(--font-heading);
  font-size: 4px;
  fill: #181613;
  pointer-events: none;
}

.plot-map figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.88rem;
  color: rgb(24 22 19 / 65%);
  background: var(--paper);
}

.build-options h2 {
  margin-top: 0.4rem;
}

.build-options .lead {
  margin: 0.75rem 0 1.75rem;
}

.build-options__grid {
  display: grid;
  gap: 1rem;
}

.build-options__grid article {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.build-options__grid article.build-option {
  padding: 0;
  overflow: hidden;
}

.build-option__media {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--sand);
}

.build-option__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.build-option__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.35rem 1.5rem 1.5rem;
}

.build-options__grid h3 {
  font-size: 1.75rem;
  margin: 0.4rem 0 0.65rem;
}

.build-options__grid .for-whom {
  flex: 1 1 auto;
}

.build-options__grid .btn {
  margin-top: 1.25rem;
  align-self: flex-start;
}

@media (min-width: 900px) {
  .build-options__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-person__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.contact-person__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--ink);
}

.contact-person .phone-xl {
  margin-top: 0.15rem;
  line-height: 1.05;
}

@media (max-width: 639px) {
  .contact-person .phone-xl {
    font-size: 1.2rem;
    white-space: nowrap;
  }
}

.contact-person img,
.contact-person__avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-person__avatar {
  display: grid;
  place-items: center;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.75rem;
}

.locality-map {
  height: 22rem;
  margin: 1.5rem 0 1rem;
  border-radius: var(--radius);
  background: var(--sand);
  z-index: 0;
}

.direction-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.direction-chips li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border-radius: 999px;
  font-size: 0.82rem;
}

.poi-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.poi-list a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.utilities-box {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  background: var(--paper);
  border-radius: var(--radius);
}

.utilities-box h2 {
  font-size: 1.85rem;
  margin: 0.35rem 0 0.5rem;
}

.video-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.visual-gallery {
  display: grid;
  gap: 1.5rem 1rem;
  margin-top: 2.25rem;
}

.visual-gallery figure {
  margin: 0;
}

.visual-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sand);
}

.visual-gallery figcaption {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(24 22 19 / 50%);
}

@media (min-width: 768px) {
  .visual-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .visual-gallery figure:first-child {
    grid-column: 1 / -1;
  }
}

.unit-card--light {
  background: var(--white);
  color: var(--ink);
}

.hero--home {
  min-height: calc(100svh - 4.75rem);
}

.hero-em {
  color: var(--sage);
}

.for-whom {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: rgb(24 22 19 / 68%);
}

.compare-note {
  margin-top: 1rem;
  max-width: 40rem;
}

.season-copy {
  margin-top: 1.25rem;
  max-width: 40rem;
}

.season-copy p + p {
  margin-top: 0.75rem;
}

.faq-list {
  margin-top: 2rem;
  max-width: 46rem;
  border-top: 1px solid rgb(24 22 19 / 10%);
}

.faq-list details {
  border-bottom: 1px solid rgb(24 22 19 / 10%);
  padding: 0.85rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .faq-list details {
    padding: 1.05rem 0;
  }

  .faq-list summary {
    font-size: 1.45rem;
  }
}

.faq-list details p {
  margin-top: 0.75rem;
  color: rgb(24 22 19 / 70%);
}

.bg-ink .stat-dl dd {
  color: var(--white);
}

.people-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.people-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.people-card__photo,
.people-card .contact-person__avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.people-card__logo {
  display: block;
  width: 10.5rem;
  height: 4.4rem;
  margin-bottom: 1rem;
  object-fit: contain;
  object-position: left center;
}

.people-card h3 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.85rem;
}

.people-card__web {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 800px) {
  .people-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
}

.steps p {
  margin-top: 0.25rem;
}

@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;
  }
}
