/* ============================================================
   OTTAVO at Ottewell — single-page site
   ============================================================ */

/* ---------- Fonts ----------
   Logo wordmark: Varelia (self-hosted brand face — OTTAVO only)
   Display / headings: Outfit (Google Fonts, linked in index.html)
   Body: Galvji (self-hosted) */
@font-face {
  font-family: "Varelia";
  src: url("../fonts/Varelia-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Galvji";
  src: url("../fonts/galvji.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #14140f;          /* near-black */
  --ink-soft: #3a3a33;
  --paper: #eceae3;        /* warm light grey */
  --paper-2: #f5f4ef;
  --white: #ffffff;
  --lime: #e2f60c;         /* bright chartreuse — fun highlight on dark surfaces */
  --olive: #838122;        /* muted olive — solid CTA buttons (white text) */
  --lime-deep: #6a7a00;    /* deep chartreuse — legible accent on light surfaces */
  --line: rgba(20, 20, 15, 0.12);

  --logo: "Varelia", "Outfit", Georgia, serif;
  --display: "Outfit", "Galvji", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Galvji", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 500; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Brand wordmark ---------- */
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand-logo { display: block; width: auto; height: 34px; }
.brand--footer .brand-logo { height: 42px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.7em 1.4em;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 0.95em 1.9em; font-size: 1rem; }

.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--lime); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line--light { color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-line--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(236, 234, 227, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--lime-deep);
  transition: width 0.3s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; gap: 12px; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--pad) 24px;
  border-top: 1px solid var(--line);
}
.mobile-menu a { padding: 12px 0; font-size: 1.1rem; }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero-media {
  position: absolute;
  inset: 0;
  background: #2b2c28 url("../assets/New Header.jpg") center 50% / cover no-repeat;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,11,9,0.82) 0%, rgba(10,11,9,0.35) 45%, rgba(10,11,9,0.15) 100%);
}
.hero-content {
  position: relative;
  padding-top: 64px;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.7vw, 3.15rem);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 16px 0 20px;
  max-width: 20ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero-lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  opacity: 0.92;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn-solid { background: var(--olive); color: var(--white); }
.hero-cta .btn-solid:hover { background: var(--lime); color: var(--ink); }
.hero-cta .btn-line { color: var(--white); border-color: rgba(255,255,255,0.6); }
.hero-cta .btn-line:hover { background: var(--white); color: var(--ink); }

/* ---------- Tag / eyebrow ---------- */
.tag {
  display: inline-block;
  background: rgba(226, 246, 12, 0.18);
  border: 2px solid var(--lime);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 15px;
  border-radius: 100px;
  backdrop-filter: blur(2px);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
  position: relative;
  padding-left: 30px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 2px;
  background: var(--lime-deep);
}
.eyebrow--light { color: rgba(255,255,255,0.75); }
.eyebrow--light::before { background: var(--lime); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.01em;
}
.section-head { max-width: 720px; margin-bottom: 56px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

/* ---------- Open House ---------- */
.open-house-media {
  width: 100%;
  max-width: 480px;
  height: auto;
  justify-self: center;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -35px rgba(0,0,0,0.45);
}
.open-house-copy p { color: var(--ink-soft); max-width: 48ch; font-size: 1.08rem; margin-top: 18px; }
.open-house-details {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.open-house-details li {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.15rem;
}
.open-house-label {
  flex: 0 0 90px;
  padding-top: 0.3em;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-deep);
}
.open-house-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Lightning Lease ---------- */
.lightning { background: var(--ink); color: var(--white); }
.lightning-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 44px; }
.lightning-head { max-width: 720px; }
.lightning h2 { font-family: var(--display); }
.lightning-accent { color: var(--lime); }
.lightning-head p { color: rgba(255,255,255,0.75); font-size: 1.08rem; margin: 18px 0 0; }
.lightning .btn-solid { background: var(--olive); color: var(--white); }
.lightning .btn-solid:hover { background: var(--lime); color: var(--ink); }

.lightning-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.lightning-step {
  background: var(--ink);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lightning-num {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--lime);
}
.lightning-title {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 10px 0 0;
}
.lightning-text { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.45; margin: 0; }

/* ---------- Overview ---------- */
.overview { background: var(--paper-2); }
.overview-copy p { color: var(--ink-soft); max-width: 52ch; font-size: 1.08rem; }

/* Feature pillars — poster-style icon grid, right column of the overview */
.feature-pillars {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--paper-2);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillar-icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--lime);
  border-radius: 13px;
}
.pillar-icon svg { width: 26px; height: 26px; display: block; }
.pillar-title {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 8px 0 0;
}
.pillar-text {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* ---------- Layouts ---------- */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.layout-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.layout-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(20,20,15,0.4);
}
/* Floor-plan actions */
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.plan-actions .btn { flex: 1 1 auto; }
.btn-icon { width: 1.05em; height: 1.05em; flex: none; }

/* Virtual-tour thumbnail */
.plan-thumb {
  position: relative;
  flex: 1 1 100%;
  display: block;
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  cursor: pointer;
}
.plan-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.plan-thumb:hover img { transform: scale(1.04); opacity: 0.88; }
.plan-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20,20,15,0.6);
  color: var(--white);
  backdrop-filter: blur(4px);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.plan-thumb-play svg { width: 26px; height: 26px; margin-left: 3px; }
.plan-thumb:hover .plan-thumb-play { background: var(--lime); color: var(--ink); transform: scale(1.08); }
.plan-thumb:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; }

.plan-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 18px;
}
.plan-enquire {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lime-deep);
  transition: opacity 0.25s var(--ease);
}
.plan-enquire:hover { opacity: 0.6; }

/* Layout photo gallery — cover photo + thumbnail row at the top of each card */
.plan-gallery { padding: 8px 8px 0; }
.plan-gallery-item.plan-gallery-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 8px;
}
.plan-gallery-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(20,20,15,0.6);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.plan-gallery-count svg { width: 16px; height: 16px; }
.plan-gallery-cover:hover .plan-gallery-count { background: var(--lime); color: var(--ink); }
.plan-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.plan-gallery-item[hidden] { display: none; }
.plan-gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  cursor: zoom-in;
}
.plan-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}
.plan-gallery-item:hover img { transform: scale(1.04); opacity: 0.9; }
.plan-gallery-item:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; }
.plan-gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20,20,15,0.55);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(13, 14, 11, 0.92);
  backdrop-filter: blur(4px);
  animation: fade 0.25s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox--video .video-frame {
  position: relative;
  width: min(1040px, 100%);
  max-height: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
}
.lightbox--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox-close:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.promo-card {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  animation: promo-in 0.4s var(--ease);
}
@keyframes promo-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.promo-link { display: block; }
.promo-link img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(520px, 100%);
  max-height: calc(100vh - 2 * clamp(16px, 4vw, 56px));
  max-height: calc(100dvh - 2 * clamp(16px, 4vw, 56px));
  border-radius: 12px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
}
.promo-close {
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  background: var(--ink);
  border-color: rgba(255,255,255,0.5);
  z-index: 1;
}
@media (max-width: 600px) {
  .promo-close { top: 8px; right: 8px; }
}
.lightbox--gallery { padding: 72px clamp(16px, 7vw, 96px) 32px; }
.gallery-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}
.gallery-stage img {
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
}
.gallery-stage figcaption {
  margin-top: 14px;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  text-align: center;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(13,14,11,0.5);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  padding-bottom: 4px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.gallery-nav:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.gallery-prev { left: clamp(8px, 2vw, 26px); }
.gallery-next { right: clamp(8px, 2vw, 26px); }
.layout-body { padding: 32px clamp(24px, 3vw, 38px) 38px; display: flex; flex-direction: column; flex: 1; }
.layout-kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime-deep);
  margin-bottom: 12px;
}
.layout-body h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.layout-body p { color: var(--ink-soft); }
.feature-list { list-style: none; padding: 0; margin: 4px 0 28px; }
.feature-list li {
  padding: 9px 0 9px 26px;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
}
.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 9px;
  color: var(--lime-deep);
  font-weight: 700;
}

/* ---------- Location ---------- */
.location { background: var(--paper-2); }
.grid-2--reverse .location-media { order: -1; }
.location-media {
  min-height: 420px;
  border-radius: var(--radius);
  background: #cfd3cc url("../assets/New Header.jpg") center / cover no-repeat;
  border: 1px solid var(--line);
}
.location-copy p { color: var(--ink-soft); max-width: 48ch; }
.amenity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
}
.amenity {
  background: var(--paper-2);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.amenity-title { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.02em; }
.amenity span:last-child { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--white); text-align: center; }
.contact-inner { max-width: 760px; margin: 0 auto; }
.contact h2 { font-family: var(--display); }
.contact p { color: rgba(255,255,255,0.75); max-width: 48ch; margin-left: auto; margin-right: auto; }
.contact .btn-solid { background: var(--olive); color: var(--white); }
.contact .btn-solid:hover { background: var(--lime); color: var(--ink); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 30px 0 0;
}

/* ---------- Lead form ---------- */
.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 620px;
  margin: 40px auto 0;
  text-align: left;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.lead-form label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.lead-form .opt { color: rgba(255, 255, 255, 0.4); font-weight: 400; letter-spacing: 0.05em; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  color-scheme: dark; /* legible native date picker + dropdown on dark */
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.lead-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.55' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--lime);
  background-color: rgba(255, 255, 255, 0.1);
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.lead-form textarea { resize: vertical; min-height: 92px; }
.lead-submit { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact .form-error {
  max-width: 620px;
  margin: 26px auto 0;
  color: #ffd9d2;
  background: rgba(255, 90, 70, 0.12);
  border: 1px solid rgba(255, 120, 100, 0.45);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  text-align: left;
}
.contact .form-error a { color: #ffd9d2; text-decoration: underline; }
.form-error[hidden] { display: none; }

/* ---------- Thank-you page ---------- */
.thankyou {
  min-height: 66vh;
  display: flex;
  align-items: center;
  padding: clamp(56px, 12vh, 130px) 0;
  background: var(--paper-2);
}
.thankyou-inner { max-width: 680px; }
.thankyou-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 10px 0 20px;
}
.thankyou p { color: var(--ink-soft); font-size: 1.1rem; max-width: 54ch; }
.thankyou p a { color: var(--lime-deep); font-weight: 600; }
.thankyou-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: #0d0e0b; color: rgba(255,255,255,0.7); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-meta a:hover, .footer-fine a:hover { color: var(--lime); }
.footer-fine { font-size: 0.85rem; opacity: 0.6; margin: 0; }
.footer-meta { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2--reverse .location-media { order: 0; }
  .layout-grid { grid-template-columns: 1fr; }
  .lightning-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-logo { height: 30px; }
  .brand--footer .brand-logo { height: 38px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .feature-pillars { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .plan-gallery-grid { gap: 6px; }
  .gallery-nav { top: auto; bottom: 18px; margin-top: 0; }
  .lightbox--gallery { padding: 72px 12px 90px; }
  .hero-title br { display: none; }
  .hero-title {
    font-size: clamp(1.9rem, 6.8vw, 2.5rem);
    overflow-wrap: break-word;
    word-break: normal;
  }
  .hero { min-height: 84vh; }
  .section h2 { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
}
