:root {
  --paper: #edf4e8;
  --paper-soft: #dfead7;
  --ink: #143321;
  --muted: #506a58;
  --line: #bdcfb8;
  --gold: #6f8f3f;
  --gold-dark: #315f32;
  --forest: #12351f;
  --header-bg: rgba(237, 244, 232, 0.96);
  --header-shadow: 0 16px 50px rgba(18, 53, 31, 0.1);
  --button-bg: linear-gradient(135deg, #789a47, #315f32);
  --button-text: #ffffff;
  --button-shadow: 0 14px 32px rgba(49, 95, 50, 0.2);
  --panel-bg: rgba(246, 250, 243, 0.94);
  --section-dark: #0f2818;
  --dark-line: rgba(237, 244, 232, 0.18);
  --dark-muted: rgba(237, 244, 232, 0.72);
  --contact-bg: linear-gradient(135deg, rgba(223, 234, 215, 0.94), rgba(237, 244, 232, 0.98));
  --form-bg: rgba(246, 250, 243, 0.88);
  --gold-icon: #d7b36a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 53, 31, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}

body.theme-beige {
  --paper: #fbf8f2;
  --paper-soft: #f4eee6;
  --ink: #11100f;
  --muted: #5f5b55;
  --line: #ded1c2;
  --gold: #bb8650;
  --gold-dark: #9a693a;
  --forest: #1f2e20;
  --header-bg: rgba(251, 248, 242, 0.96);
  --header-shadow: 0 16px 50px rgba(33, 28, 22, 0.1);
  --button-bg: linear-gradient(135deg, #c8955b, #af7842);
  --button-text: #ffffff;
  --button-shadow: 0 14px 32px rgba(133, 88, 45, 0.2);
  --panel-bg: rgba(255, 255, 255, 0.94);
  --section-dark: #151613;
  --dark-line: rgba(251, 248, 242, 0.18);
  --dark-muted: rgba(251, 248, 242, 0.72);
  --contact-bg: linear-gradient(135deg, rgba(244, 238, 230, 0.94), rgba(251, 248, 242, 0.98));
  --form-bg: rgba(255, 255, 255, 0.84);
  --gold-icon: #bb8650;
  --shadow: 0 24px 70px rgba(45, 34, 24, 0.16);
}

body.theme-nightfall {
  --paper: #17212b;
  --paper-soft: #22313b;
  --ink: #fff9ee;
  --muted: rgba(255, 249, 238, 0.84);
  --line: rgba(233, 178, 124, 0.24);
  --gold: #ffe0ad;
  --gold-dark: #fff3d6;
  --forest: #0b151b;
  --header-bg: rgba(15, 26, 34, 0.95);
  --header-shadow: 0 18px 54px rgba(5, 12, 16, 0.34);
  --button-bg: linear-gradient(135deg, #f7e6c9, #d99862);
  --button-text: #17212b;
  --button-shadow: 0 18px 38px rgba(11, 21, 27, 0.3);
  --panel-bg: rgba(34, 49, 59, 0.94);
  --section-dark: #0d1a21;
  --dark-line: rgba(248, 239, 225, 0.14);
  --dark-muted: rgba(255, 249, 238, 0.8);
  --contact-bg: linear-gradient(135deg, rgba(13, 26, 33, 0.95), rgba(34, 49, 59, 0.98));
  --form-bg: rgba(21, 34, 43, 0.88);
  --gold-icon: #ffe0ad;
  --shadow: 0 28px 78px rgba(5, 12, 16, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  padding: 16px clamp(24px, 4.8vw, 72px);
  background: var(--header-bg);
  color: var(--ink);
  box-shadow: var(--header-shadow);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
}

.brand {
  display: grid;
  gap: 5px;
  min-width: 250px;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 500;
}

.brand span {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.42em;
  text-align: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.6vw, 42px);
  font-size: 15px;
  font-weight: 500;
}

.nav a:not(.nav-cta) {
  position: relative;
}

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

.nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.design-menu {
  position: relative;
}

.design-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 9px 14px;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.design-toggle:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.design-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  min-width: 148px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.design-menu.is-open .design-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.design-options button {
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
  text-align: left;
}

.design-options button:hover,
.design-options button.is-active {
  background: var(--button-bg);
  color: var(--button-text);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-cta,
.button.primary {
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: var(--button-shadow);
}

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

.button.dark {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: transparent;
  box-shadow: none;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 136px clamp(24px, 6.3vw, 96px) 118px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  animation: heroImageDrift 18s ease-out forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 13, 9, 0.42) 0%, rgba(11, 13, 9, 0.26) 34%, rgba(11, 13, 9, 0.08) 62%, rgba(11, 13, 9, 0) 100%),
    linear-gradient(0deg, rgba(12, 15, 10, 0.12), rgba(12, 15, 10, 0));
  opacity: 0;
  animation: heroShadeIn 1200ms ease-out 120ms forwards;
}

.hero-content {
  position: relative;
  width: min(660px, 100%);
  padding-top: 42px;
  color: var(--paper);
  opacity: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
  transform: translateY(18px);
  animation: heroContentIn 900ms ease-out 260ms forwards;
}

@keyframes heroImageDrift {
  from {
    transform: scale(1.035) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes heroShadeIn {
  to {
    opacity: 1;
  }
}

@keyframes heroContentIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-shade,
  .hero-content {
    animation: none;
  }

  .hero-image {
    transform: none;
  }

  .hero-shade,
  .hero-content {
    opacity: 1;
    transform: none;
  }
}

.eyebrow,
.section-kicker p {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin: 16px 0 20px;
  font-size: clamp(48px, 6.3vw, 88px);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 3.7vw, 58px);
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.title-rule {
  display: block;
  width: 44px;
  height: 2px;
  margin: 0 0 22px;
  background: var(--gold);
}

.hero-copy {
  max-width: 570px;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 90%, transparent);
  font-size: clamp(17px, 1.3vw, 20px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 42px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--white);
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 20px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.scroll-cue small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quick-facts {
  position: relative;
  z-index: 2;
  width: min(1500px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: -74px auto 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}

.quick-facts article {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 22px;
  min-height: 158px;
  padding: 30px clamp(20px, 2.4vw, 38px);
  border-right: 1px solid var(--line);
}

.quick-facts article:last-child {
  border-right: 0;
}

.quick-facts svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--gold-icon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.quick-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.12;
}

.quick-facts div > span {
  display: block;
  margin-top: 3px;
  font-size: 18px;
}

.quick-facts p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: clamp(78px, 9vw, 138px) clamp(24px, 6.3vw, 96px);
}

main section[id] {
  scroll-margin-top: 96px;
}

.intro,
.nature-house,
.location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
}

.nature-house {
  grid-template-columns: minmax(340px, 0.86fr) minmax(0, 1fr);
  background: var(--paper-soft);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}

.section-kicker span {
  width: 96px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

.section-text p,
.location p,
.contact p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.location .section-kicker p {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.section-text .section-kicker p {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.contact .section-kicker p {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.service .section-kicker p {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.feature-photo {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 58px color-mix(in srgb, var(--ink) 12%, transparent);
}

.sale-main-photo,
.sale-thumbs button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

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

.sale-photos {
  display: grid;
  gap: 14px;
}

.sale-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sale-thumbs button {
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ink) 10%, transparent);
}

.sale-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 240ms ease, opacity 240ms ease;
}

.sale-thumbs button:hover img {
  opacity: 0.86;
  transform: scale(1.045);
}

.gallery {
  background: var(--paper-soft);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.gallery-sections {
  display: grid;
  gap: clamp(42px, 6vw, 74px);
}

.gallery-room {
  display: grid;
  gap: 18px;
}

.gallery-room h3 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.gallery-room h3::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(190px, 19vw, 315px);
  gap: 16px;
}

.gallery-grid.compact {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 18vw, 280px);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

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

.floorplan {
  margin: 0 auto 34px;
  max-width: 1180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px color-mix(in srgb, var(--ink) 12%, transparent);
}

.floorplan button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.floorplan img {
  display: block;
  width: 100%;
  height: auto;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.layout-grid article {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--paper-soft);
}

.layout-grid svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--gold-icon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.layout-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.layout-grid h3 {
  margin: 0;
  font-size: clamp(23px, 2vw, 30px);
}

.layout-extra {
  margin-top: 28px;
}

.layout-extra > h3 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.layout-extra > h3::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.layout-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.layout-extra-grid article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper-soft);
}

.layout-extra-grid svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--gold-icon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.layout-extra-grid h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 400;
}

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

.plot-map-placeholder {
  min-height: clamp(320px, 52vw, 620px);
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--paper) 86%, transparent), color-mix(in srgb, var(--paper-soft) 92%, transparent));
  color: var(--muted);
  box-shadow: 0 22px 60px color-mix(in srgb, var(--ink) 10%, transparent);
}

.plot-map-placeholder span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plot-map {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.plot-map button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

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

.location {
  background: var(--paper);
  align-items: start;
}

.location-media {
  display: grid;
  gap: 18px;
}

.location > img,
.location-map {
  width: 100%;
  max-height: 720px;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
}

.location > img {
  object-fit: cover;
}

.location-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  box-shadow: 0 22px 58px color-mix(in srgb, var(--ink) 10%, transparent);
}

.location-map iframe,
.location-map img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-map img {
  object-fit: cover;
}

.location-map a {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 4px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: var(--button-shadow);
}

.location p.location-ready {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location p.location-price {
  color: inherit;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.location-practical {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.location-practical article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--paper-soft);
}

.location-practical svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold-icon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.location-practical h3 {
  margin: 0 0 5px;
  font-size: 22px;
}

.location-practical p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
}

.details div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.details dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.details dd {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 24px;
}

.technical {
  background: var(--section-dark);
  color: var(--paper);
}

.technical .section-heading {
  margin-bottom: 42px;
}

.technical h2 {
  max-width: 720px;
}

body.theme-nightfall .quick-facts,
body.theme-nightfall .layout-grid article,
body.theme-nightfall .gallery-room,
body.theme-nightfall .location-practical article,
body.theme-nightfall .service-grid article,
body.theme-nightfall .contact-form {
  background:
    linear-gradient(135deg, rgba(233, 178, 124, 0.08), transparent 46%),
    var(--panel-bg);
}

body.theme-nightfall .hero-content,
body.theme-nightfall .hero-copy {
  color: #fff9ee;
}

body.theme-nightfall .technical {
  background:
    radial-gradient(circle at 18% 8%, rgba(233, 178, 124, 0.12), transparent 32%),
    var(--section-dark);
  color: #ffe0ad;
}

body.theme-nightfall .technical * {
  color: #ffe0ad;
}

body.theme-nightfall .technical .section-kicker span {
  background: #ffe0ad;
}

body.theme-nightfall .section-kicker p,
body.theme-nightfall .technical h2,
body.theme-nightfall .technical-grid h3,
body.theme-nightfall .technical-grid p,
body.theme-nightfall .layout-grid span,
body.theme-nightfall .details dt,
body.theme-nightfall .location-practical svg,
body.theme-nightfall .technical-grid svg {
  color: #ffe0ad;
  stroke: #ffe0ad;
}

body.theme-nightfall .quick-facts p,
body.theme-nightfall .section-text p,
body.theme-nightfall .location p,
body.theme-nightfall .service .section-heading p,
body.theme-nightfall .service-grid p,
body.theme-nightfall .contact p {
  color: rgba(255, 249, 238, 0.84);
}

body.theme-nightfall .location .section-kicker p {
  color: #ffe0ad;
}

body.theme-nightfall .location p.location-ready {
  color: #ffe0ad;
}

body.theme-nightfall .location p.location-price {
  color: rgba(255, 249, 238, 0.84);
}

body.theme-nightfall .section-text .section-kicker p {
  color: #ffe0ad;
}

body.theme-nightfall .contact .section-kicker p {
  color: #ffe0ad;
}

body.theme-nightfall .service .section-kicker p {
  color: #ffe0ad;
}

body.theme-nightfall .contact-form label span,
body.theme-nightfall .contact-detail strong {
  color: #ffe0ad;
}

body.theme-nightfall .contact-detail svg {
  stroke: #ffe0ad;
}

body.theme-nightfall .service-grid svg {
  stroke: #ffe0ad;
}

body.theme-nightfall .contact-form input,
body.theme-nightfall .contact-form textarea {
  background: rgba(255, 249, 238, 0.08);
  color: #fff9ee;
  border-color: rgba(255, 224, 173, 0.28);
}

body.theme-nightfall .contact-form input::placeholder,
body.theme-nightfall .contact-form textarea::placeholder {
  color: rgba(255, 249, 238, 0.56);
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line);
  border-left: 1px solid var(--dark-line);
}

.technical-grid article {
  min-height: 210px;
  padding: clamp(24px, 3.6vw, 44px);
  border-right: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.technical-grid svg {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 32px;
  fill: none;
  stroke: var(--gold-icon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.technical-grid h3 {
  font-size: clamp(22px, 1.9vw, 28px);
}

.technical-grid p {
  margin-bottom: 0;
  color: var(--dark-muted);
}

.service {
  background: var(--paper);
}

.service .section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.service .section-heading > p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 22px 58px color-mix(in srgb, var(--ink) 10%, transparent);
}

.service-grid article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--paper-soft);
}

.service-grid svg {
  display: block;
  width: 50px;
  height: 50px;
  margin-bottom: 28px;
  fill: none;
  stroke: var(--gold-icon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-grid h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 400;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding: clamp(80px, 10vw, 150px) clamp(24px, 6.3vw, 96px);
  background: var(--contact-bg), url("assets/rooms/zaprazi.jpg") center/cover;
}

.contact-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.contact-copy h2 {
  max-width: 690px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}

.contact-detail {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.contact-detail svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold-icon);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-detail strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail a {
  color: inherit;
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.2vw, 42px);
  border: 1px solid rgba(187, 134, 80, 0.28);
  border-radius: 8px;
  background: var(--form-bg);
  box-shadow: 0 22px 58px color-mix(in srgb, var(--ink) 12%, transparent);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(187, 134, 80, 0.16);
}

.contact-form button {
  width: 100%;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 14px;
}

.form-status.is-pending {
  color: var(--muted);
}

.form-status.is-success {
  color: var(--gold-dark);
}

.form-status.is-error {
  color: #9d2f22;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(24px, 6.3vw, 96px);
  background: var(--ink);
  color: var(--paper);
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(12, 12, 10, 0.88);
}

.lightbox.is-visible {
  display: grid;
}

.lightbox figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
}

.lightbox img {
  width: min(1180px, 100%);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox figcaption {
  max-width: min(900px, 82vw);
  color: color-mix(in srgb, var(--paper) 84%, transparent);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
}

.lightbox [data-lightbox-close] {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.lightbox [data-lightbox-close]::before,
.lightbox [data-lightbox-close]::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 12px;
  width: 20px;
  height: 2px;
  background: #fff;
}

.lightbox [data-lightbox-close]::before {
  transform: rotate(45deg);
}

.lightbox [data-lightbox-close]::after {
  transform: rotate(-45deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.lightbox-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.lightbox.has-gallery .lightbox-arrow {
  display: grid;
}

.lightbox-arrow-prev {
  left: 24px;
}

.lightbox-arrow-prev::before {
  transform: translate(-50%, -50%) rotate(-135deg);
}

.lightbox-arrow-next {
  right: 24px;
}

.lightbox-arrow-next::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-arrow:hover,
.lightbox [data-lightbox-close]:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.52);
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-button {
    position: relative;
    z-index: 32;
    display: grid;
    gap: 7px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    place-content: center;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: color-mix(in srgb, var(--paper) 12%, transparent);
    color: inherit;
  }

  .menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 112px 28px 34px;
    background: var(--paper);
    box-shadow: 0 22px 60px color-mix(in srgb, var(--ink) 12%, transparent);
  }

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

  .design-options {
    position: static;
    margin-top: 10px;
    min-width: 190px;
  }

  .quick-facts,
  .layout-grid,
  .service-grid,
  .technical-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts article {
    border-bottom: 1px solid var(--line);
  }

  .quick-facts article:nth-child(2n) {
    border-right: 0;
  }

  .quick-facts article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 88vh;
    align-items: end;
    padding-bottom: 128px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(11, 13, 9, 0.08) 0%, rgba(11, 13, 9, 0.18) 36%, rgba(11, 13, 9, 0.5) 100%);
  }

  .hero-content {
    padding-top: 120px;
    color: var(--paper);
  }

  .hero-copy {
    color: color-mix(in srgb, var(--paper) 90%, transparent);
  }

  .intro,
  .nature-house,
  .location,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid.compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .lightbox {
    padding: 20px;
  }

  .lightbox img {
    max-height: 76vh;
  }

  .lightbox [data-lightbox-close] {
    top: 14px;
    right: 14px;
  }

  .lightbox-arrow {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }

  .lightbox-arrow-prev {
    left: 12px;
  }

  .lightbox-arrow-next {
    right: 12px;
  }

  .site-header {
    padding: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 23px;
  }

  .brand span {
    font-size: 10px;
    letter-spacing: 0.26em;
    text-align: left;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }

  .quick-facts {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .quick-facts article {
    grid-template-columns: 52px minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts article:last-child {
    border-bottom: 0;
  }

  .quick-facts svg {
    width: 46px;
    height: 46px;
  }

  .section-kicker span {
    width: 42px;
  }

  .gallery-grid,
  .gallery-grid.compact,
  .details,
  .form-row,
  .layout-grid,
  .layout-extra-grid,
  .location-practical,
  .sale-thumbs,
  .service-grid,
  .technical-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer {
    flex-direction: column;
  }
}
