:root {
  --bg: #f6f4ef;
  --surface: #fff;
  --text: #171918;
  --muted: #6f736f;
  --line: #dcd9d0;
  --gold: #aa7c35;
  --gold2: #d8bd7d;
  --green: #143f35;
  --danger: #a43d36;
  --shadow: 0 16px 45px rgba(30, 35, 31, 0.1);
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #101211;
  --surface: #191c1a;
  --text: #f4f0e8;
  --muted: #a8aca7;
  --line: #343834;
  --gold: #d1ad68;
  --gold2: #f0d99a;
  --green: #86bbaa;
  --danger: #e48a82;
  --shadow: 0 16px 45px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.shell {
  width: 100%;
  padding-inline: 32px;
  margin: auto;
}
.topbar {
  background: #101211;
  color: #e8e3da;
  font-size: 12px;
  padding: 7px 0;
}
.topbar .shell {
  display: flex;
  justify-content: space-between;
}
.nav {
  height: 78px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav .shell {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  width: 190px;
  display: flex;
  padding: 4px 8px;
  border-radius: 4px;
  background: #101211;
}
.navlinks {
  display: flex;
  gap: 25px;
  margin-left: auto;
  align-items: center;
}
.navlinks a:hover {
  color: var(--gold);
}
.menu-toggle,
.mobile-menu {
  display: none;
}
button,
.button {
  border: 0;
  background: var(--text);
  color: var(--bg);
  padding: 11px 18px;
  border-radius: 5px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.button.gold,
button.gold {
  background: var(--gold);
  color: #fff;
}
.button.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.iconbtn {
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.hero {
  min-height: 620px;
  height: calc(100vh - 110px);
  max-height: 780px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 12, 10, 0.75), rgba(8, 12, 10, 0.12)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2000&q=90")
      center/cover;
}
.home-hero {
  min-height: 520px;
  height: 72vh;
}
.home-hero h2 {
  font-size: clamp(44px, 6vw, 78px);
}
.investment-showcase {
  height: calc(100vh - 110px);
  min-height: 620px;
  max-height: 860px;
  position: relative;
  overflow: hidden;
  background: #101211;
  color: #fff;
}
.slider-track,
.investment-slide {
  width: 100%;
  height: 100%;
}
.slider-track {
  display: flex;
  transition: transform 600ms cubic-bezier(0.22, 0.8, 0.2, 1);
}
.investment-slide {
  flex: 0 0 100%;
  position: relative;
}
.investment-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.investment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 9, 0.9) 0%, rgba(8, 10, 9, 0.62) 45%, rgba(8, 10, 9, 0.12) 78%);
}
.investment-content {
  position: absolute;
  left: 32px;
  bottom: 12%;
  width: min(680px, calc(100% - 64px));
}
.investment-content h1 {
  font-size: clamp(48px, 6.5vw, 86px);
}
.investment-content > p:not(.funding) {
  max-width: 600px;
  color: #e3e5e1;
  font-size: 18px;
}
.investment-progress {
  width: min(520px, 100%);
  height: 7px;
  margin: 24px 0 12px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.25);
}
.investment-progress i {
  display: block;
  height: 100%;
  background: var(--gold2);
}
.funding {
  margin-bottom: 24px;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(10, 12, 11, 0.55);
  color: #fff;
  font-size: 32px;
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
.slider-dots {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.slider-dots button.active {
  background: var(--gold2);
  transform: scale(1.25);
}
.hero-content {
  width: min(720px, 90%);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 750;
  color: var(--gold2);
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(48px, 7vw, 88px);
}
h2 {
  font-size: clamp(34px, 4vw, 54px);
}
h3 {
  font-size: 24px;
}
.hero p {
  font-size: 18px;
  max-width: 620px;
  color: #e5e5df;
}
.searchbar {
  margin-top: 32px;
  background: #fff;
  padding: 7px;
  display: flex;
  border-radius: 6px;
  max-width: 720px;
  box-shadow: var(--shadow);
}
.searchbar input {
  flex: 1;
  border: 0;
  color: #222;
  background: #fff;
  padding: 13px;
  outline: 0;
  font-size: 15px;
}
.searchbar button {
  background: #aa7c35;
  color: white;
}
.section {
  padding: 88px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-head p {
  color: var(--muted);
  max-width: 500px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.property {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  transition: 0.2s;
}
.property:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.property-media {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.property:hover img {
  transform: scale(1.03);
}
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  color: #181a19;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}
.property-body {
  padding: 20px;
}
.property-body h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.stay-card-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.stay-card-title h3 {
  flex: 1;
}
.rating {
  color: var(--gold2);
  font-weight: 750;
  white-space: nowrap;
}
.rating-large {
  margin: 18px 0;
  font-size: 17px;
}
.stay-search {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--line);
}
.stay-search label {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.stay-search input,
.stay-search select {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-transform: none;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.review {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.review .rating {
  float: right;
}
.review p {
  margin-bottom: 0;
  color: var(--muted);
}
.booking-panel {
  position: sticky;
  top: 110px;
}
.booking-note {
  margin-bottom: 0;
  text-align: center;
  font-size: 12px;
}
.date-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.earnings-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 28px;
}
.earnings-head button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
.earnings-stats .stat strong {
  font-size: 28px;
}
.owner-form {
  max-width: 820px;
  margin-top: 38px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0 42px;
}
.overview-chart,
.metric {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.overview-chart {
  display: flex;
  align-items: center;
  gap: 22px;
  grid-row: span 2;
}
.occupancy-ring {
  width: 120px;
  aspect-ratio: 1;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--gold) var(--occupancy), var(--line) 0);
}
.occupancy-ring::before {
  content: "";
  width: 82px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface);
}
.occupancy-ring div {
  position: absolute;
  display: grid;
  text-align: center;
}
.occupancy-ring strong,
.metric strong {
  font: 30px Georgia, serif;
}
.occupancy-ring span,
.metric span,
.metric small {
  color: var(--muted);
}
.metric {
  display: grid;
  align-content: space-between;
}
.metric.payout strong {
  color: var(--gold2);
}
.occupancy-legend {
  display: flex;
  gap: 22px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 13px;
}
.occupancy-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.occupancy-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.occupied-dot,.availability.occupied { color: #65c18c; }
.occupancy-legend .occupied-dot { background: #65c18c; }
.free-dot,.availability.free { color: var(--muted); }
.occupancy-legend .free-dot { background: var(--muted); }
.upcoming-dot,.availability.upcoming { color: var(--gold2); }
.occupancy-legend .upcoming-dot { background: var(--gold2); }
.availability {
  font-size: 12px;
  font-weight: 750;
}
.amenity-picker {
  margin: 4px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.amenity-picker legend {
  padding: 0 8px;
  font-weight: 700;
}
.amenity-options,
.amenities-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.amenity-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  font-size: 13px;
  font-weight: 500;
}
.amenity-options input {
  width: auto;
}
.amenity-active {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.amenity-active span {
  color: var(--gold2);
  font-weight: 800;
}
.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.dashboard-actions .panel {
  transition: 0.2s;
}
.dashboard-actions .panel:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.withdraw-overview {
  margin-top: 28px;
  cursor: not-allowed;
  opacity: 0.42;
}
.page-action-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.portfolio-filters {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0 20px;
}
.portfolio-filters input,
.portfolio-filters select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.portfolio-card[hidden] {
  display: none;
}
.portfolio-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-image .availability {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: #101211;
}
.portfolio-card-body {
  padding: 18px;
}
.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.next-stay {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 10px;
  border-radius: 5px;
  background: var(--bg);
  font-size: 12px;
}
.standalone-form {
  margin-top: 28px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.project-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.project-card:hover {
  border-color: var(--gold);
}
.project-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card-body {
  padding: 20px;
}
.project-card-body > p:not(.location) {
  color: var(--muted);
}
.project-card-body .progress,
.stage-row .progress,
.invest-panel .progress {
  background: var(--line);
}
.project-card-meta,
.stage-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  color: var(--muted);
  font-size: 13px;
}
.project-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold2);
  font-weight: 700;
}
.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr);
  align-items: center;
  gap: 48px;
  padding-block: 36px;
}
.project-hero > img {
  width: 100%;
  height: min(54vh, 540px);
  object-fit: cover;
}
.project-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
}
.project-hero p,
.project-story p {
  color: var(--muted);
}
.sample-notice {
  margin-block: 8px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 10%, var(--bg));
}
.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 0.75fr);
  gap: 48px;
  padding-block: 45px 100px;
}
.project-story,
.project-stages {
  margin-bottom: 50px;
}
.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}
.project-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.stage-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.stage-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.stage-heading strong {
  font-size: 16px;
}
.stage-heading p {
  margin: 6px 0;
}
.stage-status {
  flex: 0 0 auto;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 700;
}
.stage-status.completed { color: #71c49e; }
.stage-status.pending { color: var(--gold2); }
.stage-status.proposed { color: var(--muted); }
.invest-panel {
  position: sticky;
  top: 110px;
}
.investment-stat {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 15px;
}
.investment-stat strong {
  font: 28px Georgia, serif;
}
.invest-panel h3 {
  margin-top: 36px;
}
.investment-disclaimer {
  margin-bottom: 0;
  font-size: 12px;
}
.narrow-page {
  max-width: 800px;
  min-height: 65vh;
  padding-block: 76px;
}
.payment-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.developer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 44px;
}
.developer-stats .metric strong {
  overflow-wrap: anywhere;
  font-size: 25px;
}
.developer-shell .project-grid {
  margin-top: 25px;
}
.developer-form-page {
  max-width: 1100px;
}
.developer-form-page > .form {
  max-width: 900px;
}
.project-form-section {
  display: grid;
  gap: 16px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}
.project-form-section h3 {
  margin-bottom: 0;
}
.project-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.story-input {
  min-height: 160px !important;
}
.stage-editor {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.stage-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.project-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--surface);
}
.project-totals > div {
  display: grid;
  gap: 6px;
}
.project-totals span {
  color: var(--muted);
  font-size: 12px;
}
.project-totals strong {
  overflow-wrap: anywhere;
  font: 21px Georgia, serif;
}
.project-form-section .page-action-head p {
  margin: 0;
}
.portfolio-edit {
  width: 100%;
  margin-top: 14px;
}
.review-notice {
  max-width: 820px;
  padding: 13px 15px;
  border-left: 3px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold2);
}
.current-media {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  color: var(--muted);
}
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.image-preview-grid:empty {
  display: none;
}
.image-preview-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
}
.remove-media {
  position: absolute;
  top: 7px;
  right: 7px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 17, 16, 0.82);
  color: #fff;
  font-size: 11px;
}
.image-preview-grid figure.marked-for-removal img {
  opacity: 0.25;
}
.image-preview-grid figure.marked-for-removal::after {
  content: "Removed when saved";
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  color: #fff;
  font-size: 11px;
  text-align: center;
}
.image-preview-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.image-preview-grid figcaption {
  padding: 6px 8px;
  color: var(--muted);
  font-size: 11px;
}
.current-images img {
  border: 1px solid var(--line);
  border-radius: 5px;
}
.unit-config {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
}
.multiple-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.multiple-toggle input {
  width: auto;
}
.unit-occupancy {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.unit-occupancy > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.unit-occupancy strong {
  color: var(--text);
}
.unit-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--line);
}
.unit-bar i {
  display: block;
  height: 100%;
  background: var(--gold);
}
.location,
.muted {
  color: var(--muted);
}
.price {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--gold);
  margin: 14px 0;
}
.facts {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  gap: 15px;
  color: var(--muted);
  font-size: 13px;
}
.band {
  background: var(--green);
  color: #fff;
}
.band .muted {
  color: #c6d7d0;
}
.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-copy {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.progress {
  height: 7px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  margin: 15px 0;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--gold2);
}
.pagehead {
  padding: 70px 0 45px;
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}
.live-filters {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, minmax(130px, 1fr));
  align-items: end;
}
.live-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.live-filters input,
.live-filters select {
  width: 100%;
}
.results-line {
  margin: -8px 0 22px;
  color: var(--muted);
}
.property[hidden] {
  display: none;
}
.filters input,
.filters select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 11px 13px;
  border-radius: 5px;
}
.detail {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 40px;
  padding: 55px 0;
}
.detail-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.property-gallery-wrap {
  padding-top: 28px;
}
.media-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 8px;
  overflow: hidden;
  border-radius: 7px;
}
.media-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-gallery .gallery-featured {
  grid-row: span 2;
}
.property-video {
  width: 100%;
  max-height: 720px;
  margin-top: 24px;
  border-radius: 7px;
  background: #000;
}
.form input[type="file"] {
  padding: 10px;
  border-style: dashed;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 7px;
}
.form {
  display: grid;
  gap: 15px;
}
.form label {
  font-size: 12px;
  font-weight: 700;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
}
.form textarea {
  min-height: 100px;
}
.auth-wrap {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  background:
    linear-gradient(rgba(10, 15, 12, 0.25), rgba(10, 15, 12, 0.6)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1200&q=85")
      center/cover;
}
.auth-box {
  padding: 65px clamp(30px, 8vw, 110px);
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.auth-box .logo {
  margin-bottom: 45px;
}
.error {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 5px;
}
.captcha {
  display: flex;
  gap: 9px;
}
.captcha img {
  height: 58px;
  min-width: 190px;
  border-radius: 5px;
}
.captcha input {
  min-width: 0;
}
.divider {
  text-align: center;
  color: var(--muted);
  position: relative;
  margin: 7px 0;
}
.google {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  width: 100%;
}
.google:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.dashboard {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 110px);
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 35px 22px;
}
.sidebar a {
  display: block;
  padding: 10px;
}
.sidebar a.active {
  border-left: 2px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold2);
}
.workspace {
  padding: 40px;
  min-width: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
}
.stat {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
  border-radius: 7px;
}
.stat strong {
  display: block;
  font:
    32px Georgia,
    serif;
}
.tablewrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  margin: 20px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}
th,
td {
  text-align: left;
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}
.status {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--gold);
}
.legal {
  max-width: none;
  padding: 70px 0;
}
.legal h2 {
  font-size: 30px;
  margin-top: 42px;
}
.legal p,
.legal li {
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 50px 0;
}
.footergrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--text);
  color: var(--bg);
  padding: 14px 18px;
  border-radius: 5px;
  z-index: 99;
}
.mobile-only {
  display: none;
}
@media (max-width: 800px) {
  .topbar {
    display: none;
  }
  .navlinks { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .mobile-menu {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 14px 18px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .mobile-menu.open { display: grid; }
  .mobile-menu a,
  .mobile-menu button {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
  }
  .mobile-menu form { margin: 0; }
  .nav {
    height: 68px;
  }
  .shell {
    width: 100%;
    padding-inline: 18px;
  }
  .logo {
    width: 160px;
  }
  .hero {
    height: 680px;
    min-height: 0;
  }
  .investment-showcase {
    height: calc(100svh - 68px);
    min-height: 600px;
    max-height: none;
  }
  .investment-overlay {
    background: linear-gradient(0deg, rgba(8, 10, 9, 0.96) 0%, rgba(8, 10, 9, 0.58) 62%, rgba(8, 10, 9, 0.12) 100%);
  }
  .investment-content {
    left: 18px;
    bottom: 72px;
    width: calc(100% - 36px);
  }
  .investment-content h1 {
    font-size: 42px;
  }
  .investment-content > p:not(.funding) {
    font-size: 15px;
  }
  .funding {
    font-size: 13px;
  }
  .slider-arrow {
    top: 38%;
    width: 42px;
    height: 42px;
  }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slider-dots {
    right: 18px;
    bottom: 24px;
    max-width: calc(100% - 36px);
  }
  .home-hero {
    height: 620px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .searchbar {
    flex-wrap: wrap;
  }
  .searchbar input {
    flex-basis: 100%;
  }
  .searchbar button {
    width: 100%;
  }
  .section {
    padding: 60px 0;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .project {
    grid-template-columns: 1fr;
  }
  .project-copy {
    padding: 35px 24px;
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-box {
    padding: 45px 24px;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .workspace {
    padding: 30px 18px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .footergrid {
    grid-template-columns: 1fr;
  }
  .captcha {
    flex-wrap: wrap;
  }
  .captcha input {
    flex: 1;
  }
  .mobile-only {
    display: block;
  }
  .live-filters {
    grid-template-columns: 1fr 1fr;
  }
  .filter-wide {
    grid-column: 1 / -1;
  }
  .stay-search {
    grid-template-columns: 1fr 1fr;
  }
  .stay-search label:first-child {
    grid-column: 1 / -1;
  }
  .review-grid,
  .date-pair {
    grid-template-columns: 1fr;
  }
  .media-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .media-gallery .gallery-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 260px;
  }
  .earnings-head {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .overview-chart {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .amenity-options,
  .amenities-list {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-actions,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-filters {
    grid-template-columns: 1fr 1fr;
  }
  .page-action-head {
    align-items: start;
    flex-direction: column;
  }
  .unit-config {
    grid-template-columns: 1fr;
  }
  .image-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-grid,
  .project-hero,
  .project-detail-layout,
  .developer-stats {
    grid-template-columns: 1fr;
  }
  .project-hero {
    gap: 24px;
  }
  .project-hero > img {
    height: min(42vh, 380px);
  }
  .project-detail-layout {
    gap: 18px;
  }
  .invest-panel {
    position: static;
  }
  .project-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .developer-shell .sidebar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 9px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .developer-shell .sidebar strong {
    display: none;
  }
  .developer-shell .sidebar a {
    flex: 0 0 auto;
  }
  .project-field-pair {
    grid-template-columns: 1fr;
  }
  .project-totals {
    grid-template-columns: 1fr;
  }
}
