/* Contour by VillaRange at William Lakes — landing page */

:root {
  --plum: #3F0022;
  --beige: #E0D4C7;
  --text: #3A232F;
  --muted: #6B5B63;
  --cream: #F7F1EA;
  --white: #ffffff;
  --line: #E8DDD3;
  --header-h: 76px;
  --radius: 12px;
  --pill: 999px;
  --max: 1120px;
  --shadow: 0 16px 40px rgba(63, 0, 34, 0.08);
  --focus: 0 0 0 3px rgba(63, 0, 34, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--plum); }

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 1000;
  background: var(--plum);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; color: var(--plum); }

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.15; margin: 0 0 14px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; }

.lede {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
  max-width: 40rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-plum {
  background: var(--plum);
  color: var(--white);
  border-color: var(--plum);
}
.btn-plum:hover { background: #2d0018; border-color: #2d0018; color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--plum); }
.btn-light {
  background: var(--white);
  color: var(--plum);
  border-color: var(--white);
}
.btn-light:hover { background: var(--beige); border-color: var(--beige); color: var(--plum); }
.btn-outline {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}
.btn-outline:hover { background: var(--plum); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--beige);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(63, 0, 34, 0.08);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  width: auto;
  height: 52px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: var(--plum); }
.nav .btn { margin-left: 6px; }
.nav a.btn-plum,
.nav a.btn-plum:hover,
.site-header a.btn-plum,
.site-header a.btn-plum:hover { color: #ffffff; }
.nav a.btn-plum:hover { background: #2d0018; border-color: #2d0018; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--plum);
  position: relative;
  transition: transform .2s, opacity .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.header-cta-mobile { display: none; }

/* Hero */
.hero {
  background: var(--plum);
  color: var(--white);
  padding: 0;
}
.hero-media {
  margin: 0;
  background: var(--plum);
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  object-position: center 42%;
  aspect-ratio: 16 / 9;
}
.hero-band {
  background: var(--plum);
  color: var(--white);
}
.hero-content {
  padding: 40px 0 48px;
}
.hero .eyebrow { color: var(--beige); }
.hero h1 { color: var(--white); max-width: 20ch; margin-bottom: 10px; }
.hero .subline {
  margin: 0 0 24px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--beige);
  font-weight: 400;
}

/* Sections */
section { padding: 88px 0; }
.section-beige { background: var(--beige); }
.section-cream { background: var(--cream); }
.section-head { margin-bottom: 40px; max-width: 40rem; }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.hours {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
}
.hours p { margin: 0 0 8px; }
.hours p:last-child { margin: 0; }
.hours a { font-weight: 600; }

/* Lots */
.lots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.lot-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.lot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(63, 0, 34, 0.12);
}
.lot-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.lot-media { position: relative; }
.lot-media img { display: block; }
.sticker {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.sticker-hold { background: #3F0022; color: #ffffff; }
.sticker-soon { background: #E0D4C7; color: #3F0022; border: 2px solid #3F0022; }
.lot-body {
  padding: 22px 22px 26px;
  text-align: center;
}
.lot-body .eyebrow { margin-bottom: 4px; }
.price {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -0.02em;
}
.specs { margin: 0 0 14px; color: var(--text); }
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--plum);
  border-radius: var(--pill);
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lot-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--plum);
}
.lots-note {
  text-align: center;
  margin: 28px 0 0;
  color: var(--text);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery-grid li {
  min-width: 0;
  width: 100%;
}
.gallery-grid button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  width: 100%;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-grid li.gallery-wide { grid-column: 1 / -1; }
.gallery-grid li.gallery-wide img { aspect-ratio: 16 / 9; }
.gallery-grid button:hover img,
.gallery-grid button:focus-visible img { transform: scale(1.04); }
.gallery-grid li:nth-child(6) img { object-position: center 30%; } /* portrait bedroom */

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(63, 0, 34, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  width: 48px;
  height: 48px;
}
.lightbox-close { top: 16px; right: 16px; font-size: 36px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--beige);
  font-size: 14px;
  margin: 0;
}

/* Video */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-wrap iframe,
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-poster {
  padding: 0;
  margin: 0;
  background: #000;
  cursor: pointer;
  display: block;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 8px 24px rgba(63, 0, 34, 0.35);
  transition: transform .2s, background-color .2s;
}
.play-btn::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 24px;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
}
.video-poster:hover .play-btn,
.video-poster:focus-visible .play-btn {
  transform: scale(1.06);
  background: #2d0018;
}
.video-note {
  text-align: center;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Features */
.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.features-list li {
  position: relative;
  padding: 18px 18px 18px 48px;
  background: var(--cream);
  border-radius: 10px;
}
.features-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--plum);
}

/* Downloads */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px;
}
.downloads-grid .btn { width: 100%; min-height: 56px; }
.downloads-all { margin-top: 20px; }

/* Ex-display */
.exdisplay {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.exdisplay .panel {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
}

/* Contact */
.contact {
  background: var(--plum);
  color: var(--beige);
  text-align: center;
}
.contact .eyebrow { color: var(--beige); }
.contact h2,
.contact a { color: var(--white); }
.contact .name {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.contact .role { margin: 0 0 20px; color: var(--beige); }
.contact .details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 0 0 28px;
  font-weight: 600;
}
.contact .details a { text-decoration: none; }
.contact .details a:hover { text-decoration: underline; }
.contact .btn-ghost { margin: 0 6px; }

/* Footer */
.site-footer {
  background: var(--beige);
  padding: 48px 0 36px;
  text-align: center;
}
.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-wl { width: 130px; margin: 0 auto 16px; }
.marketed {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text);
}
.oliver {
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--plum);
}
.footer-oh { width: 120px; height: auto; margin: 6px auto 24px; }
.disclaimer {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
}

/* Mobile */
@media (max-width: 800px) {
  :root { --header-h: 68px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--beige);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; }
  .nav .btn { margin: 10px 0 4px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta-mobile {
    display: inline-flex;
    margin-left: auto;
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
  body.nav-open { overflow: hidden; }

  .logo img { height: 36px; }
  .hero-img { max-height: none; }
  .hero-content { padding: 32px 0 40px; }
  .location-grid,
  .lots-grid,
  .exdisplay,
  .features-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .downloads-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .lightbox { padding: 56px 16px 48px; }
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
}

@media (max-width: 420px) {
  .gallery-grid { gap: 8px; }
  .hero h1 { font-size: 2rem; }
}
