:root {
  color-scheme: light;
  --green-950: #082f28;
  --green-900: #0d4238;
  --green-800: #123f37;
  --green-700: #185548;
  --sage-200: #c8c8b8;
  --sage-100: #e4e5d8;
  --paper: #f7f4ec;
  --white: #ffffff;
  --ink: #13231f;
  --muted: #66726c;
  --line: #d9d8ca;
  --accent: #ff4438;
  --accent-dark: #d9322a;
  --gold: #c39b62;
  --blue: #527895;
  --shadow: 0 24px 70px rgba(8, 47, 40, 0.18);
  --radius: 8px;
  --page-pad: clamp(18px, 5vw, 64px);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
p,
a,
button,
span,
strong,
em,
label,
th,
td {
  overflow-wrap: break-word;
}

button,
.button,
.chip,
.segmented button {
  white-space: normal;
}

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

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

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

.preview-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 64px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(247, 244, 236, 0.92), rgba(228, 229, 216, 0.86)),
    var(--paper);
}

.preview-gate__panel {
  width: min(100%, 480px);
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  padding: clamp(26px, 6vw, 48px);
  border: 1px solid rgba(19, 35, 31, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.preview-gate__brand {
  justify-self: start;
}

.preview-gate h1 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(2rem, 8vw, 3.25rem);
  line-height: 0.98;
}

.preview-gate__copy {
  max-width: 34rem;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.preview-gate__form {
  display: grid;
  gap: 16px;
}

.preview-gate__form input {
  min-height: 52px;
  font-size: 1.05rem;
}

.preview-gate__form.has-error input {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 68, 56, 0.14);
}

.preview-gate__error {
  margin: -4px 0 0;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.9rem;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(24, 85, 72, 0.14);
}

fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  text-align: center;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--accent {
  color: var(--green-950);
  background: var(--accent);
}

.button--accent:hover {
  background: #ff5b50;
}

.button--dark {
  color: var(--white);
  background: var(--green-950);
}

.button--cream,
.button--light {
  color: var(--green-950);
  background: var(--sage-100);
}

.button--ghost,
.button--ghost-light {
  border-color: var(--line);
  color: var(--green-900);
  background: transparent;
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.button--full {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.45;
}

.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(100%, 1440px);
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin: 0 auto;
  padding: 18px var(--page-pad);
}

.site-nav nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 34px;
  font-weight: 850;
}

.site-nav nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.currency-select {
  width: auto;
  min-height: 34px;
  padding: 6px 28px 6px 10px;
  font-size: 0.78rem;
  font-weight: 850;
}

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

.site-nav--light {
  color: var(--green-950);
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(14px);
}

.site-nav--owner {
  color: var(--sage-100);
}

.brand-lockup {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-lockup img {
  width: 160px;
  max-height: 64px;
  object-fit: contain;
}

.brand-symbol {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.86rem;
}

.guest-hero,
.owner-hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 47, 40, 0.74), rgba(8, 47, 40, 0.12)),
    var(--hero-image) center / cover no-repeat;
}

.guest-hero::after,
.owner-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(8, 47, 40, 0.55), transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 880px;
  margin: 0;
  font-size: 5.6rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.24rem;
  line-height: 1.5;
}

.hero-copy--guest {
  display: grid;
  align-content: end;
  min-height: 88vh;
  padding: 140px var(--page-pad) 72px;
}

.search-panel {
  display: grid;
  width: min(1180px, 100%);
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 34px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.search-panel .button,
.lead-actions .button,
.checkout-actions .button {
  width: auto;
  min-width: max-content;
}

.search-panel label span {
  color: var(--muted);
}

.section,
.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 72px var(--page-pad);
}

.section--first-peek {
  padding-top: clamp(36px, 6vw, 76px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading > * {
  min-width: 0;
}

.section-heading h2,
.editorial-band h2,
.season-copy h2,
.owner-section h2,
.panel h2,
.content-section h2 {
  margin: 0;
  font-size: 3.1rem;
  line-height: 1.08;
}

.section-heading.compact {
  display: block;
  margin-bottom: 18px;
}

.section-heading.compact h2,
.panel h2,
.content-section h2 {
  font-size: 1.7rem;
  line-height: 1.15;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-900);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.collection-card:hover img {
  transform: scale(1.035);
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 47, 40, 0.78), transparent 65%);
}

.collection-card div {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 20px;
  color: var(--white);
}

.collection-card p,
.collection-card span {
  color: rgba(255, 255, 255, 0.78);
}

.collection-card h3 {
  margin: 8px 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.collection-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 900;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 44px;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 80px var(--page-pad);
  color: var(--sage-100);
  background: var(--green-950);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
}

.feature-pill {
  display: grid;
  min-height: 124px;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(228, 229, 216, 0.18);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-pill strong {
  color: var(--accent);
  font-size: 2.6rem;
  line-height: 1;
}

.season-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 38px;
  align-items: start;
}

.season-copy {
  position: sticky;
  top: 20px;
}

.season-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.property-strip {
  display: grid;
  gap: 18px;
}

.property-mini {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

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

.property-mini h3 {
  margin: 0 0 6px;
}

.property-mini p {
  margin: 0 0 10px;
  color: var(--muted);
}

.property-mini span {
  color: var(--accent-dark);
  font-weight: 900;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 42px var(--page-pad);
}

.footer h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

.footer p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.footer nav,
.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer--guest,
.footer--owner {
  color: var(--white);
  background: var(--green-950);
}

.newsletter input {
  width: min(320px, 100%);
}

.search-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
}

.search-header h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1;
}

.search-header p {
  color: var(--muted);
}

.segmented {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px;
  background: var(--white);
}

.segmented button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.segmented button.is-active {
  color: var(--white);
  background: var(--green-900);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.chip {
  max-width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--green-900);
  background: var(--white);
  cursor: pointer;
  font-weight: 750;
}

.filter-bar select {
  width: auto;
  max-width: 100%;
  min-height: 40px;
  border-radius: 999px;
}

.search-layout {
  display: grid;
  gap: 22px;
}

.search-layout--split {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.search-layout--list {
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.25fr);
}

.map-panel {
  position: sticky;
  top: 18px;
}

.map-canvas {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(82, 120, 149, 0.28), transparent 35%),
    linear-gradient(35deg, rgba(195, 155, 98, 0.2), transparent 30%),
    #dfe4d7;
}

.map-water {
  position: absolute;
  inset: 6% 52% 0 -10%;
  border-radius: 45%;
  background: rgba(82, 120, 149, 0.35);
  transform: rotate(-16deg);
}

.map-road {
  position: absolute;
  width: 120%;
  height: 12px;
  left: -10%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.map-road--one {
  top: 42%;
  transform: rotate(22deg);
}

.map-road--two {
  top: 68%;
  transform: rotate(-11deg);
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--white);
  background: var(--green-950);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.results {
  display: grid;
  gap: 18px;
}

.results--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stay-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stay-card--split,
.stay-card--list {
  grid-template-columns: 42% 1fr;
}

.stay-card__image {
  position: relative;
  display: block;
  min-height: 260px;
}

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

.stay-card__image .icon-button {
  position: absolute;
  top: 12px;
  right: 12px;
}

.stay-card__body,
.property-story,
.booking-widget,
.checkout-card,
.panel,
.metric-tile,
.lead-panel {
  overflow-wrap: break-word;
}

.stay-card__body {
  display: grid;
  min-width: 0;
  gap: 12px;
  padding: 18px;
}

.stay-card__footer {
  flex-wrap: wrap;
  align-items: start;
}

.stay-card__footer strong,
.stay-card__footer em {
  min-width: 0;
}

.stay-card__topline,
.stay-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stay-card__topline p {
  margin: 0;
  color: var(--muted);
}

.stay-card__topline span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-900);
  font-weight: 900;
}

.stay-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.stay-features,
.amenity-inline,
.distance-badges,
.rule-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stay-features span,
.amenity-inline span,
.distance-badges span,
.rule-grid span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(247, 244, 236, 0.7);
  font-size: 0.82rem;
  font-weight: 760;
}

.stay-card__footer strong {
  color: var(--green-950);
  font-size: 1.1rem;
}

.stay-card__footer span,
.stay-card__footer em {
  color: var(--muted);
  font-style: normal;
  font-weight: 650;
}

.property-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(180px, 280px));
  gap: 8px;
  padding-top: 22px;
}

.property-hero-grid a {
  overflow: hidden;
  border-radius: var(--radius);
}

.property-hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-hero-main {
  grid-row: 1 / span 2;
}

.property-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 42px;
  align-items: start;
  padding-top: 42px;
}

.property-story h1 {
  max-width: 900px;
  margin: 0;
  font-size: 4rem;
  line-height: 1;
}

.property-story > p:not(.lede) {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.host-badge,
.notice {
  display: inline-flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(24, 85, 72, 0.18);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--green-900);
  background: rgba(228, 229, 216, 0.54);
  font-weight: 850;
}

.content-section {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 32px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}

.detail-list p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-list.compact {
  grid-template-columns: 1fr;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.amenity-grid div {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}

.amenity-grid h3 {
  margin: 0;
}

.amenity-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 1fr);
  gap: 20px;
}

.location-layout .map-canvas {
  min-height: 360px;
}

.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.review-summary strong {
  font-size: 3rem;
}

.review-summary span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.rating-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-bottom: 18px;
}

.rating-bars span {
  display: grid;
  grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.rating-bars i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.rating-bars b {
  display: block;
  height: 100%;
  background: var(--green-900);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}

.review-grid span,
.review-grid p,
.review-grid em {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.review-grid em {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
  font-style: normal;
}

.policy-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.policy-timeline div {
  border-top: 5px solid var(--green-900);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}

.policy-timeline span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.availability-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.availability-calendar span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  font-weight: 850;
}

.availability-calendar .is-open {
  color: var(--green-900);
  background: rgba(24, 85, 72, 0.12);
}

.availability-calendar .is-booked {
  color: var(--muted);
  background: #e1dfd3;
}

.booking-widget {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-widget,
.checkout-summary,
.checkout-card {
  min-width: 0;
}

.booking-widget h2 {
  margin: 0;
}

.price-breakdown {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.price-breakdown span {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  color: var(--muted);
}

.price-breakdown strong {
  flex: 0 0 auto;
  text-align: right;
}

.price-breakdown .total {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 28px;
  padding-top: 28px;
}

.checkout-summary,
.checkout-card,
.account-sidebar,
.panel,
.metric-tile,
.lead-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.checkout-summary {
  position: sticky;
  top: 20px;
  align-self: start;
  overflow: hidden;
}

.checkout-summary img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.checkout-summary h1,
.checkout-summary p,
.checkout-summary .price-breakdown {
  margin-left: 18px;
  margin-right: 18px;
}

.checkout-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.stepper span {
  border-bottom: 4px solid var(--line);
  padding-bottom: 8px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.25;
}

.stepper .is-active {
  color: var(--green-900);
  border-color: var(--accent);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.span-2 {
  grid-column: 1 / -1;
}

.payment-methods,
.calendar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-methods span,
.calendar-buttons button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--paper);
  font-weight: 850;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.checkbox input {
  width: 18px;
  min-height: 18px;
}

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.confirmation {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.confirmation .icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 12px;
  color: var(--white);
  background: var(--green-900);
}

.next-steps,
.message-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--paper);
}

.account-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
}

.account-sidebar {
  align-self: start;
  padding: 18px;
}

.account-sidebar h1 {
  margin: 0;
}

.account-sidebar nav {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.trip-list {
  display: grid;
  gap: 12px;
}

.trip-card {
  display: grid;
  grid-template-columns: minmax(130px, 170px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--white);
}

.trip-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
}

.trip-card span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trip-card h3,
.trip-card p {
  margin: 0;
}

.trip-card p {
  color: var(--muted);
}

.account-panels {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.saved-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.saved-grid .property-mini {
  display: block;
}

.saved-grid .property-mini img {
  margin-bottom: 10px;
}

.owner-public {
  background: var(--green-950);
}

.owner-hero {
  min-height: 86vh;
}

.owner-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 520px);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  width: min(1440px, 100%);
  min-height: calc(86vh - 92px);
  margin: 0 auto;
  padding: 60px var(--page-pad) 44px;
}

.owner-hero .hero-copy h1 {
  max-width: 760px;
  font-size: 4.9rem;
  line-height: 1;
}

.lead-panel {
  display: grid;
  gap: 16px;
  color: var(--ink);
  padding: 22px;
  box-shadow: var(--shadow);
}

.lead-panel h2 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.12;
}

.lead-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.lead-progress span {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
}

.lead-progress span.is-active {
  background: var(--accent);
}

.map-confirm {
  display: grid;
  grid-template-columns: minmax(96px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 150px;
  border-radius: var(--radius);
  padding: 18px;
  background:
  linear-gradient(120deg, rgba(82, 120, 149, 0.2), transparent),
    #dfe4d8;
}

.map-confirm__visual {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 42% 52%, rgba(82, 120, 149, 0.2) 0 26%, transparent 27%),
    linear-gradient(28deg, transparent 0 42%, rgba(255, 255, 255, 0.62) 43% 47%, transparent 48%),
    linear-gradient(138deg, transparent 0 55%, rgba(255, 255, 255, 0.56) 56% 60%, transparent 61%),
    rgba(255, 255, 255, 0.26);
}

.map-confirm__copy {
  display: grid;
  gap: 8px;
}

.map-confirm__copy p {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.map-pin-simple {
  position: absolute;
  top: 52%;
  left: 52%;
  width: 18px;
  height: 18px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.lead-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.analysis-loader {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 28px 0;
  text-align: center;
}

.pulse-ring {
  width: 96px;
  aspect-ratio: 1;
  border: 3px solid rgba(255, 68, 56, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.analysis-lines {
  display: grid;
  width: 100%;
  gap: 8px;
}

.analysis-lines span {
  border-radius: var(--radius);
  padding: 10px;
  color: var(--muted);
  background: var(--paper);
}

.analysis-lines .is-complete {
  color: var(--green-900);
  background: rgba(24, 85, 72, 0.1);
  font-weight: 850;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.grade-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(24, 85, 72, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(24, 85, 72, 0.08);
}

.grade-badge {
  display: inline-grid;
  min-width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-900);
  font-weight: 950;
}

.grade-badge--A {
  background: var(--accent);
  color: var(--green-950);
}

.grade-badge--B {
  background: var(--blue);
}

.grade-badge--C {
  background: var(--gold);
}

.grade-badge--D {
  background: #8d4f3e;
}

.crm-feed {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-weight: 800;
}

.crm-feed span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.owner-section {
  color: var(--sage-100);
  background: var(--green-950);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 12px;
}

.steps-grid article,
.calculator-control,
.calculator-output,
.case-study,
.faq-list article {
  border: 1px solid rgba(228, 229, 216, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.steps-grid article {
  min-height: 0;
  padding: 18px;
}

.steps-grid span {
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 950;
}

.steps-grid h3 {
  color: var(--white);
}

.steps-grid p,
.calculator-control p,
.case-study p,
.faq-list p,
.footer--owner p {
  color: rgba(228, 229, 216, 0.72);
  line-height: 1.6;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
}

.calculator-control,
.calculator-output {
  padding: 20px;
}

.grade-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.grade-buttons button {
  min-height: 54px;
  border: 1px solid rgba(228, 229, 216, 0.28);
  border-radius: var(--radius);
  color: var(--sage-100);
  background: transparent;
  cursor: pointer;
  font-weight: 950;
}

.grade-buttons button.is-active {
  color: var(--green-950);
  background: var(--accent);
}

.calculator-output {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 12px;
}

.calculator-output .metric-tile {
  border-color: rgba(228, 229, 216, 0.16);
  color: var(--sage-100);
  background: rgba(255, 255, 255, 0.06);
}

.period-bar {
  grid-column: 1 / -1;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.period-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 260ms ease;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 18px;
}

.case-study img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 6px;
  object-fit: cover;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.stats-row .metric-tile {
  color: var(--sage-100);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(228, 229, 216, 0.16);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.logo-row span {
  min-height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 229, 216, 0.16);
  border-radius: var(--radius);
  color: rgba(228, 229, 216, 0.68);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list article {
  padding: 0;
}

.faq-list button {
  display: flex;
  width: 100%;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  padding: 0 18px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-list p {
  display: none;
  margin: 0;
  padding: 0 18px 18px;
}

.faq-list article.is-open p {
  display: block;
}

.dashboard-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  background: #f2f0e7;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 22px;
  overflow-y: auto;
  color: var(--sage-100);
  background: var(--green-950);
}

.dashboard-brand--text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sage-100);
  font-weight: 950;
  text-transform: uppercase;
}

.dashboard-sidebar nav {
  display: grid;
  gap: 6px;
}

.dashboard-sidebar nav a,
.dashboard-sidebar nav button,
.secondary-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0 12px;
  color: rgba(228, 229, 216, 0.72);
  background: transparent;
  cursor: pointer;
  font-weight: 820;
  line-height: 1.25;
  text-align: left;
}

.dashboard-sidebar nav a.is-active,
.dashboard-sidebar nav button.is-active {
  color: var(--green-950);
  background: var(--accent);
}

.secondary-link {
  margin-top: auto;
  border: 1px solid rgba(228, 229, 216, 0.16);
}

.dashboard-content {
  min-width: 0;
  padding: 24px clamp(18px, 4vw, 42px);
  overflow-x: hidden;
}

.dashboard-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.dashboard-topbar h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
}

.topbar-actions {
  display: flex;
  gap: 8px;
}

.dashboard-section {
  display: grid;
  gap: 18px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
}

.metric-tile {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  padding: 16px;
}

.metric-tile span {
  color: var(--muted);
  font-weight: 780;
}

.metric-tile strong {
  font-size: 2rem;
  line-height: 1.08;
}

.mini-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

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

.panel-grid.two-thirds {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
}

.panel {
  min-width: 0;
  padding: 18px;
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-header h2,
.panel-header p {
  margin: 0;
}

.panel-header p,
.panel p,
.data-disclaimer {
  color: var(--muted);
  line-height: 1.55;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  height: 300px;
  align-items: end;
}

.bar-chart div {
  display: grid;
  height: 100%;
  align-items: end;
  gap: 8px;
}

.bar-chart span {
  display: block;
  min-height: 12px;
  border-radius: 6px 6px 0 0;
  background: var(--green-900);
}

.bar-chart small {
  color: var(--muted);
  text-align: center;
}

.cumulative-line {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  margin-top: 16px;
  background: var(--line);
}

.cumulative-line span {
  display: block;
  height: 100%;
  background: var(--accent);
}

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

.grade-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.build-timeline,
.contract-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(96px, 1fr));
  gap: 6px;
  margin-top: 16px;
}

.build-timeline span,
.contract-timeline span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.build-timeline .is-done,
.contract-timeline .is-active {
  color: var(--white);
  background: var(--green-900);
}

.build-timeline .is-active {
  color: var(--green-950);
  background: var(--accent);
}

.table-wrap {
  overflow: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  min-width: 720px;
}

.cost-list,
.settings-list,
.alert-list {
  display: grid;
  gap: 10px;
}

.cost-list span,
.settings-list span,
.alert-list span {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: var(--muted);
}

.forecast-chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  height: 220px;
  align-items: end;
}

.forecast-chart span {
  position: relative;
  min-height: 24px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.forecast-chart em {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
}

.booking-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 18px;
}

.owner-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.owner-calendar strong,
.owner-calendar button {
  border: 0;
  border-radius: var(--radius);
  padding: 8px;
  text-align: left;
}

.owner-calendar strong {
  color: var(--muted);
  text-align: center;
}

.owner-calendar button {
  min-height: 92px;
  background: #ecece2;
  cursor: pointer;
}

.owner-calendar button span {
  display: block;
  font-weight: 900;
}

.owner-calendar button em {
  display: block;
  margin-top: 8px;
  color: inherit;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.owner-calendar .booked {
  color: var(--white);
  background: var(--green-900);
}

.owner-calendar .past {
  color: rgba(255, 255, 255, 0.72);
  background: #749082;
}

.owner-calendar .maintenance {
  color: var(--green-950);
  background: var(--gold);
}

.booking-detail {
  align-self: start;
}

.property-admin-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}

.property-admin-hero img {
  width: 100%;
  height: 180px;
  border-radius: 6px;
  object-fit: cover;
}

.property-admin-hero h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.08;
}

.floorplan {
  width: 100%;
  max-height: 520px;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--paper);
}

.radar {
  width: min(320px, 100%);
  display: block;
  margin: 0 auto 10px;
}

.radar-grid {
  fill: rgba(24, 85, 72, 0.08);
  stroke: rgba(24, 85, 72, 0.2);
}

.radar-shape {
  fill: rgba(255, 68, 56, 0.32);
  stroke: var(--accent-dark);
  stroke-width: 2;
}

.score-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.score-breakdown span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--muted);
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 800;
}

.heatmap {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(35deg, rgba(82, 120, 149, 0.26), transparent 40%),
    #dce2d4;
}

.heatmap span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: rgba(255, 68, 56, 0.18);
  transform: translate(-50%, -50%);
}

.heatmap b {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--green-950);
  transform: translate(-50%, -50%);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.document-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--paper);
}

.document-grid article.is-highlighted {
  border-color: var(--accent);
  background: rgba(255, 68, 56, 0.08);
}

.document-grid h3 {
  margin: 10px 0 6px;
}

.document-grid p,
.document-grid span {
  color: var(--muted);
}

.message-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.message-layout aside button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 8px;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  font-weight: 850;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toggle-row label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.message-list {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.message-list div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--paper);
}

.message-list span,
.message-list p {
  color: var(--muted);
}

.admin-shell {
  background: #eef0e9;
}

.pipeline-viz {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  height: 260px;
  align-items: end;
}

.pipeline-viz span {
  display: grid;
  align-content: end;
  justify-items: center;
  border-radius: 8px 8px 0 0;
  padding: 10px 6px;
  color: var(--white);
  background: var(--green-900);
}

.pipeline-viz strong {
  font-size: 1.5rem;
}

.pipeline-viz em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-style: normal;
  text-align: center;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

.kanban section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--paper);
}

.kanban article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 12px;
  background: var(--white);
}

.kanban span,
.kanban p {
  color: var(--muted);
  font-size: 0.88rem;
}

.portfolio-calendar {
  display: grid;
  gap: 8px;
}

.portfolio-calendar div {
  display: grid;
  grid-template-columns: 260px repeat(14, 1fr);
  gap: 5px;
  align-items: center;
}

.portfolio-calendar span {
  height: 28px;
  border-radius: 4px;
}

.portfolio-calendar .booked {
  background: var(--green-900);
}

.portfolio-calendar .available {
  background: var(--line);
}

.grade-distribution {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 220px;
  gap: 12px;
  align-items: end;
}

.grade-distribution span {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.grade-distribution i {
  display: block;
  width: 100%;
  border-radius: 8px 8px 0 0;
  background: var(--accent);
}

.empty-state {
  display: grid;
  min-height: 60vh;
  place-items: center;
  text-align: center;
}

@media (max-width: 1180px) {
  :root {
    --page-pad: 32px;
  }

  .hero-copy h1 {
    font-size: 4.6rem;
  }

  .owner-hero .hero-copy h1 {
    font-size: 4rem;
  }

  .collection-grid,
  .results--grid,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .calculator-output {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel .button {
    grid-column: 1 / -1;
  }

  .search-layout--split,
  .search-layout--list,
  .property-content-grid,
  .checkout-layout,
  .owner-hero-grid,
  .booking-dashboard-grid,
  .message-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }

  .map-panel,
  .booking-widget,
  .checkout-summary,
  .season-copy {
    position: static;
  }

  .map-canvas {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  :root {
    --page-pad: 20px;
  }

  .site-nav {
    align-items: flex-start;
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav,
  .site-nav nav {
    flex-wrap: wrap;
  }

  .site-nav nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 0.92rem;
  }

  .site-nav nav a,
  .currency-select {
    min-height: 34px;
  }

  .brand-lockup {
    min-width: 0;
  }

  .brand-lockup img {
    width: 128px;
  }

  .hero-copy--guest {
    min-height: auto;
    padding-top: 136px;
    padding-bottom: 46px;
  }

  .hero-copy h1 {
    font-size: 3.3rem;
    line-height: 1.03;
  }

  .hero-copy p:not(.eyebrow),
  .lede {
    max-width: min(100%, 22rem);
    font-size: 1.05rem;
  }

  .search-panel,
  .collection-grid,
  .editorial-band,
  .feature-list,
  .season-grid,
  .stay-card--split,
  .stay-card--list,
  .property-hero-grid,
  .detail-list,
  .amenity-grid,
  .policy-timeline,
  .review-grid,
  .calculator-grid,
  .case-study,
  .panel-grid,
  .panel-grid.two-thirds,
  .property-admin-hero,
  .document-grid,
  .form-grid.two,
  .saved-grid {
    grid-template-columns: 1fr;
  }

  .search-panel .button,
  .lead-actions .button,
  .checkout-actions .button,
  .newsletter input,
  .newsletter .button {
    width: 100%;
    min-width: 0;
  }

  .section,
  .page-shell,
  .editorial-band {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-heading h2,
  .editorial-band h2,
  .season-copy h2,
  .owner-section h2 {
    font-size: 2.35rem;
    line-height: 1.1;
  }

  .search-header h1,
  .property-story h1 {
    font-size: 3rem;
  }

  .property-hero-grid {
    grid-template-rows: none;
  }

  .property-hero-grid a {
    min-height: 220px;
  }

  .property-hero-main {
    grid-row: auto;
  }

  .property-mini,
  .trip-card {
    grid-template-columns: 1fr;
  }

  .property-mini img,
  .trip-card img {
    aspect-ratio: 16 / 9;
  }

  .checkout-actions,
  .panel-header,
  .search-header,
  .footer {
    align-items: stretch;
    flex-direction: column;
    display: flex;
  }

  .owner-hero-grid {
    min-height: auto;
    padding-top: 132px;
  }

  .owner-hero .hero-copy h1 {
    font-size: 3.1rem;
  }

  .owner-hero,
  .guest-hero {
    min-height: auto;
  }

  .steps-grid,
  .calculator-output,
  .stats-row,
  .logo-row,
  .kpi-grid,
  .score-breakdown {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    max-height: none;
  }

  .dashboard-sidebar nav {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  }

  .dashboard-topbar h1 {
    font-size: 2.35rem;
  }

  .metric-tile strong {
    font-size: 1.7rem;
  }

  .owner-calendar button {
    min-height: 68px;
    font-size: 0.8rem;
  }

  .rating-bars {
    grid-template-columns: 1fr;
  }

  .portfolio-calendar div {
    grid-template-columns: 160px repeat(7, 1fr);
  }

  .portfolio-calendar span:nth-of-type(n + 8) {
    display: none;
  }
}

@media (max-width: 520px) {
  :root {
    --page-pad: 14px;
  }

  .section,
  .page-shell,
  .dashboard-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .search-panel,
  .lead-panel,
  .panel,
  .metric-tile,
  .checkout-card {
    padding: 14px;
  }

  .site-nav nav {
    gap: 6px 10px;
    font-size: 0.86rem;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .hero-copy h1,
  .owner-hero .hero-copy h1 {
    max-width: min(100%, 22rem);
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: min(100%, 22rem);
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .owner-hero-grid {
    padding-top: 112px;
    gap: 20px;
  }

  .section-heading h2,
  .editorial-band h2,
  .season-copy h2,
  .owner-section h2,
  .search-header h1,
  .property-story h1 {
    font-size: 2rem;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .filter-bar .chip,
  .filter-bar select {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1 1 0;
  }

  .lead-panel h2,
  .panel h2,
  .content-section h2 {
    font-size: 1.45rem;
  }

  .lead-actions,
  .checkout-actions {
    flex-direction: column;
  }

  .dashboard-sidebar nav {
    grid-template-columns: 1fr;
  }

  .dashboard-topbar {
    align-items: flex-start;
  }

  .dashboard-topbar h1 {
    font-size: 2rem;
  }

  .topbar-actions {
    width: 100%;
  }

  .metric-tile strong {
    font-size: 1.55rem;
  }

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

  .property-hero-grid a {
    min-height: 160px;
  }

  .owner-calendar {
    gap: 4px;
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(54px, 1fr));
  }

  .owner-calendar button {
    min-height: 54px;
    padding: 4px;
  }

  .owner-calendar em {
    display: none;
  }
}
