:root {
  --ink: #18202a;
  --muted: #5d6875;
  --soft: #eef4ef;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d8ddd8;
  --red: #b4232d;
  --red-dark: #841923;
  --teal: #0f6b63;
  --sage: #dfe8df;
  --gold: #c89b3c;
  --shadow: 0 18px 50px rgba(24, 32, 42, 0.12);
  --shadow-soft: 0 8px 26px rgba(24, 32, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#listings,
#process,
#apply,
#contact,
.listing-card {
  scroll-margin-top: 88px;
}

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

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(216, 221, 216, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.04rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.menu-button {
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
}

.site-nav a:hover,
.menu-button:hover {
  background: var(--sage);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.6rem, 6vw, 5.5rem) 5vw 2rem;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 12ch;
  font-size: 5.25rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 1.45rem;
}

.lead {
  max-width: 58ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
  max-width: 620px;
}

.hero-stats div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.25rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.88rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.78rem 1rem;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--teal);
}

.button:disabled,
.button.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.hero-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--sage);
}

.hero-media img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.availability-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.2rem;
  max-width: 360px;
  padding: 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(24, 32, 42, 0.18);
}

.availability-note span,
.availability-note small,
.listing-topline,
.facts dt,
.site-footer {
  color: var(--muted);
}

.availability-note span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  margin: 0 5vw;
  border: 1px solid var(--line);
  background: var(--line);
}

.quick-strip a {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 1.1rem;
  background: var(--surface);
  text-decoration: none;
}

.quick-strip a:hover {
  background: #f3f7f3;
}

.quick-strip a.is-rented {
  background: #f3f1ed;
}

.quick-strip a.is-rented strong,
.quick-strip a.is-rented small {
  opacity: 0.56;
}

.quick-strip span {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.quick-strip strong,
.quick-strip small {
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 5vw;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
}

.filter-button.is-active,
.filter-button:hover {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.listing-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.listing-card[data-listing-url] {
  cursor: pointer;
}

.listing-card.is-rented {
  background: #f4f2ed;
}

.listing-card.is-rented .listing-cover {
  filter: grayscale(0.45);
  opacity: 0.54;
}

.listing-card.is-rented .listing-body > :not(.listing-actions) {
  opacity: 0.58;
}

.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.listing-card:focus-within,
.listing-card:focus-visible {
  border-color: rgba(15, 107, 99, 0.58);
  box-shadow: var(--shadow);
}

.listing-card:focus-visible {
  outline: 3px solid rgba(15, 107, 99, 0.24);
  outline-offset: 3px;
}

.listing-card[hidden] {
  display: none;
}

.listing-media {
  position: relative;
  overflow: hidden;
  background: var(--sage);
}

.listing-cover {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.status-banner {
  position: absolute;
  top: 1.25rem;
  left: -2.8rem;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  width: 11rem;
  transform: rotate(-35deg);
  color: white;
  background: var(--red);
  padding: 0.38rem 1rem;
  box-shadow: 0 10px 22px rgba(24, 32, 42, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-banner.is-available {
  background: var(--teal);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 26px;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  color: white !important;
  background: var(--red);
  font-size: 0.72rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.status-chip.is-available {
  background: var(--teal);
}

.listing-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem;
}

.listing-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.listing-body p {
  margin: 0;
  color: var(--muted);
}

.listing-intro {
  color: var(--ink) !important;
  font-weight: 800;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
}

.facts div {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}

.facts dt,
.facts dd {
  margin: 0;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.facts dd {
  margin-top: 0.12rem;
  font-weight: 800;
}

.listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.listing-actions .button {
  flex: 1 1 150px;
}

.listing-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
}

.listing-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--sage);
}

.listing-gallery img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-strip {
  display: grid;
  grid-auto-columns: minmax(82px, 1fr);
  grid-auto-flow: column;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.photo-strip img {
  width: 100%;
  min-width: 82px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  color: var(--red-dark);
  font-weight: 900;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.listing-page-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(2.2rem, 6vw, 4.5rem) 5vw;
}

.listing-page-copy {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.listing-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.listing-status-row .eyebrow {
  margin: 0;
}

.listing-page-copy h1 {
  max-width: 12ch;
}

.listing-page-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.listing-page-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
}

.listing-page-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--sage);
  box-shadow: var(--shadow-soft);
}

.listing-page-gallery img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.listing-is-rented .listing-page-gallery img {
  filter: grayscale(0.45);
  opacity: 0.62;
}

.listing-description-section {
  padding-top: 1rem;
}

.listing-description-copy {
  display: grid;
  gap: 0.8rem;
  max-width: 860px;
}

.listing-description-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.rented-section {
  background: #f4f0e8;
}

.process-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.process-band div {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  padding: clamp(1.2rem, 4vw, 2rem) 5vw;
  background: #eef3ef;
}

.process-band span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-weight: 900;
}

.process-band p {
  margin: 0;
  color: var(--muted);
}

.apply-section {
  background: #f4f0e8;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.application-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 1rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.panel-kicker {
  margin: 0 0 0.25rem;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

#selected-listing-label {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.1rem;
}

.listing-picker {
  display: grid;
  gap: 0.55rem;
}

.listing-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.65rem;
  align-items: center;
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
}

.listing-option:hover,
.listing-option.is-selected {
  border-color: var(--teal);
  background: var(--soft);
}

.listing-option.is-rented {
  cursor: not-allowed;
  opacity: 0.55;
}

.listing-option.is-rented::after {
  content: "Rented";
  grid-column: 2;
  width: fit-content;
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  color: white;
  background: var(--red);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-option span {
  grid-row: span 2;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 58px;
  border-radius: 6px;
  color: white;
  background: var(--teal);
  font-weight: 900;
}

.listing-option strong,
.listing-option small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.listing-option small {
  color: var(--muted);
  font-weight: 700;
}

.application-guidance {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0;
  border-left: 4px solid var(--gold);
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.7);
}

.application-guidance p {
  margin: 0;
  color: var(--muted);
}

.form-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.form-shell iframe {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 760px;
  border: 0;
}

.full-width {
  width: 100%;
}

.fallback-note {
  max-width: 780px;
  margin: 1rem 0 0;
  color: var(--muted);
}

.fallback-note a {
  color: var(--red-dark);
  font-weight: 800;
}

.form-area {
  min-width: 0;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 5rem) 5vw;
  color: white;
  background: var(--ink);
}

.contact-band .eyebrow,
.contact-band p {
  color: #b8d6d1;
}

.contact-band h2 {
  max-width: 680px;
}

.contact-band p {
  max-width: 700px;
  margin: 0.9rem 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 5vw;
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mobile-apply-bar {
  display: none;
}

.simple-page {
  min-height: 100vh;
  background: var(--paper);
}

.content-page {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.content-page h1 {
  max-width: 16ch;
  font-size: 3.8rem;
}

.content-page h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.content-page p,
.content-page li {
  color: var(--muted);
}

.content-page a {
  color: var(--red-dark);
  font-weight: 800;
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.content-panel ul {
  padding-left: 1.2rem;
}

@media (max-width: 960px) {
  .hero,
  .listing-grid,
  .listing-page-hero,
  .process-band,
  .application-layout {
    grid-template-columns: 1fr;
  }

  .listing-page-copy {
    position: static;
  }

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

  .application-panel {
    position: static;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-media img {
    min-height: 300px;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    min-height: 66px;
    padding: 0 1rem;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.5rem;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 44px;
  }

  .hero {
    padding: 2.25rem 1rem 1rem;
  }

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

  .quick-strip {
    margin: 0 1rem;
  }

  .section,
  .contact-band {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1,
  .content-page h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .lead {
    font-size: 1.05rem;
  }

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

  .listing-gallery {
    grid-template-columns: 1fr;
  }

  .listing-gallery img:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .listing-page-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .listing-page-gallery {
    grid-template-columns: 1fr;
  }

  .listing-page-gallery img:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .form-shell iframe {
    height: 72vh;
    min-height: 620px;
  }

  .site-footer {
    flex-direction: column;
    padding: 1.2rem 1rem;
  }

  .mobile-apply-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(251, 250, 247, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .mobile-apply-bar .button {
    width: 100%;
  }
}
