/* 15 David v1.0, from the v4.9 shell. Structure follows tekt.com.au; the palette and type are the client's own (charcoal, off-white, white boxes, stone hover, oak accent, Inter only). */

:root {
  --ink: #2B2B2B;          /* all text and borders */
  --page: #F4F1EC;         /* off-white page background on light sections */
  --box: #FFFFFF;          /* boxes, cells, cards, rows */
  --hover: #D9D2C7;        /* warm stone, every interactive box on hover */
  --oak: #B8906A;          /* active tab fill and small underlines only */
  --wa: #25D366;           /* WhatsApp green */
  --white: #FFFFFF;
  --frost: rgba(255, 255, 255, 0.55);
  --frost-soft: rgba(255, 255, 255, 0.75);
  --ink-muted: rgba(43, 43, 43, 0.68);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --h1: 42px;
  --h2: 27px;
  --h3: 21px;
  --body: 15px;
  --label: 13px;
  --nav: 15px;
  --nav-sub: 21px;
  --wordmark: 30px;
  --gutter: 20px;
  --cell-h: 56px;
  --cell-h-hover: 72px;
  --sub-h: 110px;
  --cell-pad: 10px 15px;
  --ease-out: cubic-bezier(0.25, 0.8, 0.4, 1);
  --t-hover: 200ms;
  --t-nav: 250ms;
  --t-panel: 320ms;
  --t-image: 600ms;
  --section-pad: 56px;
  --panel-w: 440px;
  --sticky-top: 100px;
}
@media (min-width: 900px) {
  :root { --gutter: 24px; --section-pad: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; letter-spacing: normal; }
h1 { font-size: var(--h1); line-height: 1.1; }
h2 { font-size: var(--h2); line-height: 1.15; }
h3, h4 { font-size: var(--h3); line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
ul { list-style: none; margin: 0; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.container { padding-left: var(--gutter); padding-right: var(--gutter); width: 100%; }
.section { padding: var(--section-pad) 0; }
.eyebrow { font-size: var(--label); font-weight: 400; margin-bottom: 14px; }
.section-title { font-size: var(--h2); line-height: 1.15; margin-bottom: 32px; max-width: 26ch; }
.on-dark { color: var(--white); }
.small { font-size: var(--label); color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.text-link { font-size: var(--body); text-decoration: underline; text-decoration-color: var(--oak); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* ---------- Boxed elements: 1px outline only, no corner squares (removed 26 Nov 2026 at Jarod's request) ---------- */
.corner-box {
  --box-line: var(--ink);
  position: relative;
  border: 1px solid var(--box-line);
}

/* ---------- Cells: the boxed unit the header, tabs and form are built from ---------- */
.cell {
  display: flex; align-items: center;
  min-height: var(--cell-h);
  padding: var(--cell-pad);
  font-size: var(--nav); font-weight: 400;
  text-decoration: none; color: var(--ink);
  background: var(--box);
  transition: background var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), min-height var(--t-nav) var(--ease-out);
}
.cell:hover { background: var(--hover); }
.cell:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }

/* ---------- WhatsApp buttons: green, white text and glyph, no border, no corners, 6px radius ---------- */
.wa-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wa); color: var(--white);
  border: 0; border-radius: 6px;
  padding: 10px 15px; min-height: 44px;
  font-size: var(--nav); line-height: 1.2; text-decoration: none;
  transition: filter var(--t-hover) var(--ease-out), transform var(--t-hover) var(--ease-out);
}
.wa-btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.wa-btn:hover { filter: brightness(0.93); }
.wa-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Header: Tekt mechanics, menu inverted. Fixed, transparent. Over the hero the menu cells are filled #ECF1F4 at rest and go clear (white lines and text) on hover; the brand cell stays clear with the white logo. Once the hero has scrolled past (.scaled) every cell is filled and the logo is black. ---------- */
.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  --hdr-line: rgba(255, 255, 255, 0.9);
  --hdr-text: rgba(255, 255, 255, 0.9);
  --hdr-fill: transparent;
  --hdr-hover-fill: #ECF1F4;
  --t-hdr: 0.5s;
}
.masthead .bar { margin: 20px 40px; display: flex; align-items: flex-start; }
.brand { width: 50%; flex: 0 1 auto; min-width: 0; transition: width var(--t-hdr) ease; }
.menu { width: 50%; flex: 0 1 auto; min-width: 0; display: flex; align-items: flex-start; transition: width var(--t-hdr) ease; }
.brand .cell, .menu-parent, .menu-toggle {
  --box-line: var(--hdr-line);
  color: var(--hdr-text);
  background: var(--hdr-fill);
  transition: all var(--t-hdr) ease;
}
.brand .cell { min-height: 0; padding: 6px 15px; height: 64px; display: flex; align-items: center; font-size: var(--nav); }
.brand .mark { display: block; line-height: 0; text-decoration: none; color: inherit; }
.brand .logo { display: block; height: 50px; width: auto; }
.brand .logo--dark { display: none; }
.masthead.scaled .logo--light, .masthead.is-menu-open .logo--light { display: none; }
.masthead.scaled .logo--dark, .masthead.is-menu-open .logo--dark { display: block; }
.brand .mark:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.menu-parent { position: relative; flex: 1 1 0; margin-left: -1px; padding: 12.5px; height: 44px; min-width: 0; font-size: var(--nav); line-height: 19px; }
.menu-link { display: block; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.menu-toggle { display: none; }

/* Inverted: menu cells (and the mobile Menu cell) are filled at rest. */
.menu-parent, .menu-toggle { background: var(--hdr-hover-fill); color: var(--ink); --box-line: var(--ink); }
/* Hover anywhere over the bar while over the hero: menu cells go clear with white lines and text, the menu half widens from 50% to 62%. */
@media (hover: hover) and (min-width: 900px) {
  .masthead:not(.scaled):hover .menu-parent { background: transparent; color: var(--hdr-text); --box-line: var(--hdr-line); }
  /* Tekt: .w-50.menu:hover { width: 100% }. Both halves keep flex-shrink 1, so the brand settles near 33% and the menu near 67%. */
  .masthead .bar:hover .menu { width: 100%; }
  .menu-parent:hover { flex: 2 1 0; z-index: 1; }
}
.masthead .menu-parent.is-open { background: var(--hdr-hover-fill); color: var(--ink); --box-line: var(--ink); }

/* After the hero: filled permanently, hover included, brand back to 50%. */
.masthead.scaled { --hdr-line: var(--ink); --hdr-text: var(--ink); --hdr-fill: var(--hdr-hover-fill); }
.masthead.scaled .menu-parent { background: var(--hdr-hover-fill); color: var(--ink); --box-line: var(--ink); }

/* Dropdowns */
.dropdown--menu {
  position: absolute; top: 100%; left: -1px; width: calc(100% + 2px);
  padding-top: 4px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.1s ease;
  z-index: 0;
}
@media (hover: hover) and (min-width: 900px) {
  .menu-parent:hover > .dropdown--menu { opacity: 1; pointer-events: auto; transition: opacity 0.4s ease 0.35s; }
}
.menu-parent.is-open > .dropdown--menu,
.menu-parent:focus-within > .dropdown--menu { opacity: 1; pointer-events: auto; }
.menu-button {
  --box-line: var(--ink);
  display: block; width: 100%; margin-bottom: -1px;
  padding: 14px 12.5px;
  font-size: var(--nav-sub); line-height: 1.2; color: var(--ink); text-decoration: none;
  background: var(--box);
  transition: background var(--t-hover) var(--ease-out);
}
.menu-button:hover, .menu-button:focus-visible { background: var(--hover); }
/* The homes items read as panels, so they keep the Tekt depth */
/* Homes items are one compact line: Unit · Type · price */
.menu-parent--homes .menu-button { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-parent--homes .menu-button .sub { display: inline; margin: 0; font-size: inherit; line-height: inherit; }
.menu-parent--homes .menu-button .sub::before { content: "\00A0\00B7\00A0"; }
.menu-button .sub { display: block; font-size: var(--label); line-height: 1.4; margin-top: 4px; color: var(--ink-muted); }
.menu-button.cta-download-brochure { font-size: 17px; letter-spacing: 0.04em; padding-top: 16px; padding-bottom: 16px; }
.menu-button.cta-download-brochure .sub { letter-spacing: 0; }
.menu-button--wa { padding: 0; background: var(--wa); }
.menu-button--wa:hover { background: var(--wa); }
.menu-button--wa .wa-btn { width: 100%; justify-content: flex-start; font-size: var(--nav-sub); height: 56px; min-height: 56px; padding: 0 12.5px; border-radius: 0; }
.menu-button--wa .wa-btn svg { width: 22px; height: 22px; }

/* How to buy dropdown: one carousel card, 7:8 image with a caption box under it */
.carousel { --box-line: var(--ink); display: block; background: var(--box); color: var(--ink); text-decoration: none; }
.carousel-stage { position: relative; display: block; aspect-ratio: 7 / 8; overflow: hidden; background: var(--box); border-bottom: 1px solid var(--ink); }
.carousel .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease-out); }
.carousel .slide.is-active { opacity: 1; }
.carousel .slide picture, .carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .slide.is-plan { background: var(--white); padding: 12px; display: grid; place-items: center; }
.carousel .slide.is-plan img { object-fit: contain; }
.carousel .dots { position: absolute; left: 15px; bottom: 15px; display: flex; gap: 10px; z-index: 2; }
.carousel .dot { width: 7px; height: 7px; padding: 0; border: 0; background: var(--white); box-shadow: 0 0 0 1px var(--ink); transition: background 0.3s ease; }
.carousel .dot.is-active { background: var(--ink); }
.carousel .dot:focus-visible { outline: 2px solid var(--white); outline-offset: 1px; }
.carousel-caption { position: relative; display: block; padding: 10px; min-height: 104px; }
.carousel .cap { position: absolute; inset: 0; padding: 10px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity 0.4s var(--ease-out); }
.carousel .cap.is-active { opacity: 1; }
.carousel .cap-title { font-size: var(--nav-sub); line-height: 1.2; display: flex; gap: 10px; }
.carousel .cap-title .num { font-size: var(--label); line-height: 1.9; }
.carousel .cap-body { font-size: var(--body); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carousel:hover .carousel-caption { background: var(--hover); }

/* The mobile panel never renders on desktop */
.mobile-menu { display: none; }

/* ---------- Mobile header, under 900px: Tekt's mobile pattern. Brand cell plus a 96px Menu cell, 56px tall, 12px in. A fixed white panel drops under the bar with four full-width cells; each cell opens its submenu in flow. ---------- */
@media (max-width: 899px) {
  .masthead { --hdr-hover-fill: var(--box); }
  .masthead .bar { margin: 12px; align-items: stretch; }
  .brand { width: auto; flex: 1 1 auto; min-width: 0; transition: none; }
  .brand .cell { height: 84px; padding: 9px 18px; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
  .brand .logo { height: 66px; }
  .menu-toggle {
    display: flex; flex: 0 0 96px; width: 96px; align-items: center; justify-content: center;
    margin-left: -1px; height: 84px; padding: 0; font-size: var(--nav); line-height: 1;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }
  .menu { display: none; }
  /* Open: white fill, charcoal text and lines, and a full-viewport catch layer behind the bar so a tap anywhere outside closes it */
  .masthead.is-menu-open .brand .cell,
  .masthead.is-menu-open .menu-toggle { background: var(--box); color: var(--ink); --box-line: var(--ink); }
  .masthead.is-menu-open::before { content: ""; position: fixed; inset: 0; z-index: 0; }
  .masthead.is-menu-open .bar { position: relative; z-index: 1; }

  .mobile-menu {
    display: none;
    position: fixed; top: 67px; left: 9px; right: 9px; z-index: 2;
    padding: 0 3px;
    max-height: calc(100vh - 90px);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .mobile-menu.is-visible { display: block; }
  .mobile-nav-item { --box-line: var(--ink); background: var(--box); color: var(--ink); margin-top: -1px; }
  .mobile-nav-label {
    display: flex; align-items: center; gap: 12px; width: 100%;
    min-height: 56px; padding: 10px 15px;
    font-size: 21px; line-height: 1.2; text-align: left;
    transition: background var(--t-hover) var(--ease-out);
  }
  .mobile-nav-label:active { background: var(--hover); }
  .mobile-nav-label:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
  .mobile-nav-item.is-open .mobile-nav-label { background: var(--box); }
  .mobile-submenu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-panel) var(--ease-out); }
  .mobile-nav-item.is-open .mobile-submenu { grid-template-rows: 1fr; }
  .mobile-submenu-inner { overflow: hidden; }
  .mobile-subitem {
    display: flex; align-items: center; gap: 12px;
    min-height: 48px; padding: 0 15px 0 27px;
    font-size: 17px; line-height: 1.2; color: var(--ink); text-decoration: none;
    background: var(--box); border-top: 1px solid var(--ink);
    transition: background var(--t-hover) var(--ease-out);
  }
  .mobile-subitem:active, .mobile-subitem:focus-visible { background: var(--hover); outline: none; }
  .mobile-subitem .num { font-size: var(--label); min-width: 2.2em; }
  .mobile-subitem--contact { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 56px; padding-left: 15px; }
  .mobile-subitem--contact .sub { font-size: var(--label); line-height: 1.4; color: var(--ink-muted); }
  .mobile-subitem.cta-download-brochure { font-size: 15px; letter-spacing: 0.04em; }
  .mobile-subitem.cta-download-brochure .sub { letter-spacing: 0; }
  .mobile-subitem--wa { min-height: 56px; padding-left: 15px; gap: 9px; background: var(--wa); color: var(--white); border-top-color: var(--wa); }
  .mobile-subitem--wa:active, .mobile-subitem--wa:focus-visible { background: var(--wa); filter: brightness(0.93); }
  .mobile-subitem--wa svg { width: 22px; height: 22px; flex: none; fill: currentColor; }

  /* Body scroll is locked while the panel is open; the top offset is set by script to hold the scroll position */
  body.is-menu-locked { position: fixed; left: 0; right: 0; overflow: hidden; }

  /* Anchor targets clear the fixed bar */
  .how-panel, .homes, .finishes, .nearby, .contact { scroll-margin-top: 124px; }

}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; background: var(--ink); overflow: hidden; }
.hero-media, .hero-video, .hero-fallback, .hero-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video, .hero-fallback img { object-fit: cover; object-position: 50% 50%; }
.hero-fallback { display: none; }
/* Reduced motion or save-data: the script skips the video and shows the still render */
.hero-still .hero-video { display: none; }
.hero-still .hero-fallback { display: block; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0)); }
.hero-copy {
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter);
  top: 50%; transform: translateY(-50%);
  color: var(--white);
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
  max-width: 560px;
}
.hero-title { font-size: var(--h1); line-height: 1.1; color: var(--white); }
.hero-sub { font-size: 17px; line-height: 1.4; margin: 14px 0 0; }
@media (min-width: 900px) { .hero-copy { left: 40px; } }
/* Mobile hero copy: 34px headline, 15px subline, 24px side margins */
@media (max-width: 899px) {
  .hero-copy { left: 24px; right: 24px; max-width: none; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 15px; }
}

/* ---------- Intro: statement and photo left, sticky accordion right ---------- */
.intro { padding-top: var(--section-pad); }
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 40px var(--gutter); padding: 0 var(--gutter); }
.intro-left { display: grid; gap: 40px; align-content: start; }
.statement { font-size: var(--h2); line-height: 1.3; max-width: 30ch; }
.intro-image { margin: 0; }
.intro-image img { width: 100%; height: auto; }
.sticky-panel { align-self: start; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 62fr 38fr; gap: 0 var(--gutter); align-items: start; }
  .intro-left { gap: 64px; }
  .statement { max-width: 36ch; }
  .sticky-panel { position: sticky; top: var(--sticky-top); z-index: 2; }
}

/* ---------- Image stacks: absolutely stacked pictures, one active, 300ms crossfade ---------- */
.image-stack { position: relative; overflow: hidden; }
.image-stack .stack-item { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 300ms var(--ease-out); }
.image-stack .stack-item.is-active { opacity: 1; }
.image-stack .stack-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Accordion: white rows, charcoal dividers, stone on hover ---------- */
.accordion { background: transparent; }
.accordion .acc-item { background: var(--box); transition: background var(--t-hover) var(--ease-out); }
.accordion .acc-item + .acc-item { margin-top: -1px; }
.accordion .acc-item:hover { background: var(--hover); }
.acc-title { font-size: var(--h3); line-height: 1.25; font-weight: 400; }
.acc-btn { display: flex; align-items: center; width: 100%; text-align: left; padding: 15px; gap: 12px; }
.acc-btn:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.acc-btn .num { font-size: var(--label); min-width: 2.4em; }
.acc-icon { margin-left: auto; width: 14px; height: 14px; position: relative; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: currentColor; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform var(--t-panel) var(--ease-out); }
.acc-icon::before { width: 14px; height: 1px; }
.acc-icon::after { width: 1px; height: 14px; }
.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-panel) var(--ease-out); }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner > * { margin-left: 15px; margin-right: 15px; }
.acc-inner > :first-child { margin-top: 0; }
.acc-inner > :last-child { margin-bottom: 15px; }
.acc-inner p { font-size: var(--body); }
.inline-image { margin-top: 16px; }
.inline-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.inline-pair { display: grid; gap: 12px; margin-top: 16px; }
.plan-card { display: block; background: var(--white); padding: 12px; border: 1px solid var(--ink); }
.plan-card img { width: 100%; height: auto; object-fit: contain; aspect-ratio: auto; }
.inline-image.plan-card img { aspect-ratio: auto; object-fit: contain; }
@media (min-width: 900px) { .inline-image, .inline-pair { display: none; } }
.spec-list li { padding: 6px 0; border-bottom: 1px solid currentColor; font-size: var(--body); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list { margin-bottom: 14px; }

/* Intro panel: the open row is tall with air under the text */
.intro-acc .acc-item.is-open .acc-inner > :last-child { margin-bottom: 60px; }
@media (min-width: 900px) {
  .intro-acc .acc-item.is-open { min-height: 240px; }
}

/* ---------- Who it is for: two white cards in one bordered row, exclusive accordion ---------- */
.cards { display: grid; background: transparent; }
.cards .card + .card { margin-top: -1px; }
.card .acc-btn { padding: 24px 24px; }
.card .acc-inner > * { margin-left: 24px; margin-right: 24px; }
.card .acc-inner > :last-child { margin-bottom: 40px; }
@media (min-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; align-items: start; }
  .cards .card + .card { margin-top: 0; margin-left: -1px; }
  .card .acc-btn { padding: 32px 32px; }
  .card .acc-inner > * { margin-left: 32px; margin-right: 32px; }
  .card .acc-inner > :last-child { margin-bottom: 56px; }
}

/* ---------- How to buy: horizontal track of six equal panels. GSAP pins the section and scrubs the track; without it the panels stack vertically. ---------- */
.how { padding: var(--section-pad) 0 48px; overflow: hidden; }
.how-head .section-title { margin-bottom: 32px; }
.how-track { display: grid; gap: 24px; padding: 0 var(--gutter); }
.how-panel { display: grid; align-content: start; }
.how-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.how-media picture, .how-media img { width: 100%; height: 100%; object-fit: cover; }
.how-media.is-plan { background: var(--white); border: 1px solid var(--ink); padding: 12px; }
.how-media.is-plan .plan-link { display: block; width: 100%; height: 100%; }
.how-media.is-plan img { object-fit: contain; }
.how-cell { background: var(--box); margin-top: 4px; }
.how-title { display: flex; gap: 12px; align-items: baseline; font-size: var(--h3); line-height: 1.25; padding: 15px; }
.how-title .num { font-size: var(--label); min-width: 2.4em; }
.how-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.how-panel.is-open .how-body { grid-template-rows: 1fr; }
.how-body-inner { overflow: hidden; }
.how-body-inner p { margin: 0 15px 15px; font-size: var(--body); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 899px) { .how-panel .how-body { grid-template-rows: 1fr; } }
@media (min-width: 900px) {
  .how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gutter); margin-bottom: 40px; }
  .how-head .eyebrow { margin: 0 0 6px; }
  .how-head .section-title { margin: 0; text-align: right; max-width: none; }
  .how { padding-bottom: 64px; }
  .how-viewport { width: 100%; }
  .how.is-pinned { padding-top: 124px; min-height: 0; }
  .how.is-pinned .how-track { display: flex; gap: 24px; width: max-content; will-change: transform; }
  .how.is-pinned .how-panel { width: clamp(320px, 34vw, 520px); flex: none; }
  /* Every title-and-body cell the same height: title row 56px plus two body lines and the 15px foot */
  .how.is-pinned .how-cell { min-height: 124px; }
  .how.is-pinned .how-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .how.is-pinned .how-title .num { display: inline-block; margin-right: 12px; }
  .how.is-pinned .how-panel .how-body { grid-template-rows: 0fr; }
  .how.is-pinned .how-panel.is-open .how-body { grid-template-rows: 1fr; }
  /* Vertical fallback on desktop: three across, all open */
  .how:not(.is-pinned) .how-track { grid-template-columns: repeat(3, 1fr); }
  .how:not(.is-pinned) .how-panel .how-body { grid-template-rows: 1fr; }
}

/* ---------- The homes: frosted accordion over a full-bleed photo; site plan state is two columns ---------- */
.homes { position: relative; padding: var(--section-pad) 0; color: var(--ink); background: var(--ink); overflow: hidden; }
.homes-bg { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.homes-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.25), rgba(0,0,0,0) 70%); pointer-events: none; }
.homes-inner { position: relative; z-index: 1; }
.homes .eyebrow.on-dark, .homes .section-title.on-dark { color: var(--white); text-shadow: 0 1px 18px rgba(0,0,0,0.35); }
.homes-acc {
  color: var(--ink);
  width: 100%; max-width: var(--panel-w);
}
.homes-acc .acc-item {
  background: var(--frost);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.homes-acc .acc-item:hover { background: var(--hover); }
.homes-acc .acc-item.is-open { background: var(--frost); }
.homes-acc .acc-item.is-open:hover { background: var(--frost); }
.homes-acc .acc-btn:focus-visible { outline-color: var(--ink); }
.homes-lede { max-width: var(--panel-w); margin-bottom: 24px; text-shadow: 0 1px 18px rgba(0,0,0,0.45); }
.homes.show-site .homes-lede { color: var(--ink); text-shadow: none; }
/* Sold units: listed in order, greyed, not openable */
.homes-acc .acc-item--sold, .homes-acc .acc-item--sold:hover { background: rgba(255, 255, 255, 0.35); color: rgba(43, 43, 43, 0.55); }
.homes.show-site .homes-acc .acc-item--sold, .homes.show-site .homes-acc .acc-item--sold:hover { background: var(--page); }
.acc-sold { display: block; padding: 15px; text-decoration: line-through; text-decoration-thickness: 1px; }
.area-table { width: calc(100% - 30px); border-collapse: collapse; margin-bottom: 14px; font-size: var(--label); }
.area-table caption { text-align: left; padding-bottom: 6px; }
.area-table th { text-align: left; font-weight: 400; }
.area-table td { text-align: right; }
.area-table th, .area-table td { padding: 4px 0; border-bottom: 1px solid rgba(43, 43, 43, 0.25); }
.area-table .total th, .area-table .total td { border-bottom: 0; font-weight: 500; }
.plan-inline { margin-bottom: 15px; }
.homes-plan { display: none; }
.homes.show-site { background: var(--page); color: var(--ink); }
.homes.show-site .homes-bg { display: none; }
.homes.show-site .eyebrow.on-dark, .homes.show-site .section-title.on-dark { color: var(--ink); text-shadow: none; }
.homes.show-site .homes-acc .acc-item { background: var(--box); -webkit-backdrop-filter: none; backdrop-filter: none; }
.homes.show-site .homes-acc .acc-item:hover { background: var(--hover); }
.homes.show-site .homes-acc .acc-item.is-open, .homes.show-site .homes-acc .acc-item.is-open:hover { background: var(--box); }
.homes.show-site .homes-plan { display: block; margin-top: 32px; }
.homes-plan .plan-card { padding: 16px; }
.homes-plan img { width: 100%; height: auto; object-fit: contain; }
@media (min-width: 900px) {
  .homes { min-height: 820px; display: flex; align-items: center; }
  .homes-inner { width: 100%; }
  .homes.show-site .homes-inner { display: grid; grid-template-columns: 40fr 60fr; gap: var(--gutter); align-items: center; }
  .homes.show-site .homes-plan { margin-top: 0; }
}

/* ---------- Finishes: full-width 16:10 stage, three tabs on its bottom edge, two hotspots per tab ---------- */
.finishes-frame { position: relative; }
/* The 1px frame sits outside the container edge so the stage itself is the full container width */
.finishes-stage-wrap { --box-line: var(--ink); margin: 0 -1px; }
/* The renders are landscape (3:2 and 4:3), so the mobile stage is 4:3 rather than 4:5 to keep both hotspots in frame */
.finishes-stage { width: 100%; aspect-ratio: 4 / 3; background: var(--ink); container-type: size; }
@media (min-width: 900px) { .finishes-stage { aspect-ratio: 16 / 10; } }
.finishes-stage .stack-item { z-index: 0; }
/* The hotspot layer is sized to the covered render; --ar is that render's width over height, so --x and --y are percentages of the render itself */
.hotspots { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max(100cqw, calc(100cqh * var(--ar, 1.5))); aspect-ratio: var(--ar, 1.5); z-index: 2; pointer-events: none; }
.hotspots[hidden] { display: none; }
.hotspot { position: absolute; left: var(--x); top: var(--y); pointer-events: auto; }
.hotspot-btn {
  position: relative;
  width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--ink); border: 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  display: grid; place-items: center; transform: translate(-50%, -50%);
  transition: background var(--t-hover) var(--ease-out), transform var(--t-panel) var(--ease-out);
}
.hotspot-btn::before, .hotspot-btn::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.hotspot-btn::before { width: 14px; height: 1.5px; }
.hotspot-btn::after { width: 1.5px; height: 14px; }
.hotspot-btn span { display: none; }
.hotspot-btn:hover { background: var(--hover); }
.hotspot-close {
  position: absolute; top: -14px; right: -14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink);
  display: grid; place-items: center; cursor: pointer; z-index: 4; padding: 0;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}
.hotspot-close::before, .hotspot-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); }
.hotspot-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.hotspot-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
@media (max-width: 899px) { .hotspot.is-open .hotspot-btn { opacity: 0; pointer-events: none; } }
.hotspot-btn[aria-expanded="true"] { transform: translate(-50%, -50%) rotate(45deg); }
.hotspot-card {
  --box-line: var(--ink);
  position: absolute; left: 24px; top: -18px; width: 420px; max-width: calc(100cqw - 32px);
  background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ink);
  display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; align-items: start;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-panel) var(--ease-out), transform var(--t-panel) var(--ease-out), visibility 0s linear var(--t-panel);
  z-index: 3;
}
.hotspot.is-open .hotspot-card { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hotspot-card img { width: 96px; height: 96px; object-fit: cover; display: block; }
.hotspot-text h4 { font-size: var(--h3); margin-bottom: 6px; line-height: 1.25; }
.hotspot-text p { font-size: var(--body); line-height: 1.45; margin: 0; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin: -1px -1px 0; position: relative; z-index: 1; }
.tab { justify-content: center; }
.tab + .tab { margin-left: -1px; }
.tab:hover { background: var(--hover); }
.tab.is-active, .tab.is-active:hover { background: var(--oak); color: var(--ink); }
@media (max-width: 899px) {
  .hotspot-card { grid-template-columns: 72px 1fr; width: 300px; }
  .hotspot-card img { width: 72px; height: 72px; }
}

/* ---------- Form ---------- */
.touch { display: grid; gap: 12px; max-width: 920px; }
.touch-cell { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 96px; padding: 18px 20px; background: var(--box); color: var(--ink); text-decoration: none; transition: background 0.2s ease; }
.touch-cell:hover { background: var(--hover); }
.touch-cell:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.touch-cell span { pointer-events: none; }
.touch-title { font-size: var(--nav-sub); line-height: 1.2; }
.touch-cell .sub { font-size: var(--label); color: var(--ink-muted); }
.touch-cell--wa { border-left: 4px solid var(--wa); }
@media (min-width: 900px) { .touch { grid-template-columns: repeat(3, 1fr); } }
.agent { --box-line: var(--ink); background: var(--box); max-width: 920px; margin-top: 12px; padding: 18px 20px; }
.agent p { margin: 0 0 4px; }
.agent-name { font-size: var(--nav-sub); line-height: 1.2; }
.agent .small { margin-bottom: 10px; }

/* ---------- Nearby: flat list of boxed cells, four across on desktop ---------- */
.nearby-list { display: grid; grid-template-columns: 1fr; padding: 1px 0 0 1px; }
.near-item { --box-line: var(--ink); background: var(--box); min-height: 56px; display: flex; align-items: center; padding: 10px 15px; margin: -1px 0 0 -1px; }
@media (min-width: 600px) { .nearby-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .nearby-list { grid-template-columns: repeat(4, 1fr); } }
.enquiry { padding: 0; background: var(--box); }
.option-group { padding: 0 0 15px; }
.option-group legend { float: left; width: 100%; font-size: var(--label); padding: 15px 15px 8px; }
.option-cells { display: grid; grid-template-columns: repeat(3, 1fr); clear: both; margin: 0 15px; }
.option { position: relative; justify-content: center; cursor: pointer; text-align: center; }
.option + .option { margin-left: -1px; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option:hover { background: var(--hover); }
.option:has(input:checked) { background: var(--ink); color: var(--white); }
.option:has(input:checked):hover { background: var(--ink); }
.option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -3px; }
.fields { display: grid; gap: 0; padding: 0 15px; }
.field { display: grid; gap: 6px; padding: 15px 0; }
.field span { font-size: var(--label); }
.field input, .field textarea { font: inherit; font-size: var(--body); color: var(--ink); background: var(--white); border: 1px solid var(--ink); padding: 10px 12px; width: 100%; border-radius: 0; transition: background var(--t-hover) var(--ease-out); }
.field input:hover, .field textarea:hover { background: var(--hover); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; background: var(--white); }
.form-foot { display: flex; align-items: center; gap: 20px; padding: 15px 15px 20px; flex-wrap: wrap; }
.submit { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: var(--cell-pad); background: var(--ink); color: var(--white); font-size: var(--nav); transition: background var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
.submit { --box-line: var(--ink); }
.submit:hover { background: var(--hover); color: var(--ink); }
.form-note { font-size: var(--label); color: var(--ink-muted); margin: 0; }
@media (min-width: 900px) {
  .fields { grid-template-columns: 1fr 1fr; column-gap: 15px; }
  .field-wide { grid-column: 1 / -1; }
  .enquiry { max-width: 920px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink); background: var(--page); color: var(--ink); padding: 48px 0 132px; font-size: var(--body); }
.footer-grid { display: grid; gap: 28px; }
.wordmark { font-size: var(--h3); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.footer-brand p, .footer-contact p { margin: 0 0 4px; }
.footer-contact p { margin: 0 0 10px; }
.footer-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.footer-link svg { width: 18px; height: 18px; flex: none; pointer-events: none; }
.footer-link svg:not([fill="none"]) { fill: currentColor; }
.footer-link span { text-decoration: underline; text-decoration-color: var(--oak); text-underline-offset: 4px; pointer-events: none; }
.footer-link:hover span { text-decoration-color: var(--ink); }
.footer-logo-link { display: inline-block; margin-top: 16px; }
.footer-logo-link:hover { opacity: 0.85; }
.footer-logo-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.footer-logo { display: block; width: 132px; height: auto; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--oak); text-underline-offset: 4px; }
.disclaimer { font-size: var(--label); color: var(--ink-muted); max-width: 60ch; margin: 0; }
.site-disclaimer { padding-bottom: 24px; }
.footer-brand .footer-logo-link { margin: 0 0 12px; }
@media (min-width: 900px) {
  .site-footer { padding: 64px 0 120px; }
  .footer-grid { grid-template-columns: 2fr 1.5fr 1fr; }
}

/* ---------- Floating buttons: bottom-left. Frosted white panel and a green WhatsApp button; past the hero both collapse to 44px squares and expand on hover. ---------- */
.fixed-ctas {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 12px; align-items: center;
  padding: 10px var(--gutter);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(43, 43, 43, 0.12);
}
.fixed-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; min-height: 44px; padding: 10px 15px;
  background: rgba(255, 255, 255, 0.8); color: var(--ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: var(--nav); line-height: 1.2; text-decoration: none;
  border: 0; border-radius: 6px; white-space: nowrap; overflow: hidden;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), width 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}
.fixed-cta .arrow { width: 14px; height: 14px; flex: none; }
.fixed-cta .label { display: inline-block; max-width: 200px; overflow: hidden; transition: max-width 0.3s var(--ease-out), opacity 0.3s var(--ease-out); }
.fixed-cta:not(.wa-btn):hover { background: var(--hover); }
.fixed-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fixed-ctas .fixed-cta { flex: 1 1 auto; }
.fixed-ctas .wa-btn { background: var(--wa); color: var(--white); box-shadow: none; }
/* Brochure button: charcoal fill, stone on hover. The label stays in the DOM when hidden (clipped, not display none) so the GTM click text still reads DOWNLOAD BROCHURE. */
.fixed-cta--brochure { background: var(--ink); color: var(--white); box-shadow: none; }
.fixed-cta--brochure .doc { width: 18px; height: 18px; flex: none; }
.fixed-cta--brochure .label { font-size: var(--label); letter-spacing: 0.04em; }
.fixed-cta--brochure:hover, .fixed-cta--brochure:focus-visible { background: var(--hover); color: var(--ink); }
@media (max-width: 899.98px) {
  .fixed-ctas { gap: 8px; padding: 10px 12px; }
  .fixed-ctas .fixed-cta { padding: 10px 12px; gap: 8px; min-width: 0; }
  /* Under 900px the brochure button is a 44px square; the label is clipped to zero width but still present */
  .fixed-ctas .fixed-cta--brochure { flex: none; width: 44px; padding: 10px; gap: 0; }
  .fixed-ctas .fixed-cta--brochure .label { max-width: 0; opacity: 0; }
}
@media (min-width: 900px) {
  .fixed-ctas {
    left: 40px; right: auto; bottom: 40px;
    padding: 0; background: none; border: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .fixed-ctas .fixed-cta { flex: none; }
  .fixed-ctas.is-collapsed .fixed-cta { width: 44px; padding: 10px; gap: 0; background: rgba(255, 255, 255, 0.8); color: var(--ink); }
  .fixed-ctas.is-collapsed .fixed-cta .label { max-width: 0; opacity: 0; }
  .fixed-ctas.is-collapsed .wa-btn { color: var(--wa); }
  .fixed-ctas.is-collapsed .wa-btn svg { fill: var(--wa); }
  .fixed-ctas.is-collapsed .fixed-cta:hover,
  .fixed-ctas.is-collapsed .fixed-cta:focus-visible { width: auto; padding: 10px 15px; gap: 10px; }
  .fixed-ctas.is-collapsed .fixed-cta:hover .label,
  .fixed-ctas.is-collapsed .fixed-cta:focus-visible .label { max-width: 200px; opacity: 1; }
  .fixed-ctas.is-collapsed .wa-btn:hover, .fixed-ctas.is-collapsed .wa-btn:focus-visible { background: var(--wa); color: var(--white); }
  .fixed-ctas.is-collapsed .wa-btn:hover svg, .fixed-ctas.is-collapsed .wa-btn:focus-visible svg { fill: var(--white); }
  .fixed-ctas.is-collapsed .fixed-cta--brochure:hover, .fixed-ctas.is-collapsed .fixed-cta--brochure:focus-visible { background: var(--ink); color: var(--white); }
}

/* ---------- Motion: GSAP sets the reveal state itself, so with scripts off everything is simply visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* v1.1 (23 Nov 2026): frosted header. Menu cells are translucent glass, not solid white. Over the hero: 20% white with blur, white text and lines. After the hero (.scaled): 80% white with blur, ink text. */
.masthead { --hdr-hover-fill: rgba(255, 255, 255, 0.2); }
.menu-parent, .menu-toggle, .brand .cell {
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.masthead:not(.scaled) .menu-parent, .masthead:not(.scaled) .menu-toggle {
  background: rgba(255, 255, 255, 0.2); color: var(--hdr-text); --box-line: var(--hdr-line);
}
@media (hover: hover) and (min-width: 900px) {
  .masthead:not(.scaled):hover .menu-parent { background: rgba(255, 255, 255, 0.08); color: var(--hdr-text); --box-line: var(--hdr-line); }
  .masthead:not(.scaled) .menu-parent:hover { background: rgba(255, 255, 255, 0.3); }
}
.masthead:not(.scaled) .menu-parent.is-open { background: rgba(255, 255, 255, 0.85); color: var(--ink); --box-line: var(--ink); }
.masthead.scaled { --hdr-hover-fill: rgba(255, 255, 255, 0.8); --hdr-fill: rgba(255, 255, 255, 0.8); }
.masthead.scaled .menu-parent, .masthead.scaled .menu-toggle, .masthead.scaled .brand .cell { background: rgba(255, 255, 255, 0.8); color: var(--ink); --box-line: var(--ink); }
@media (max-width: 899px) {
  .masthead.is-menu-open .brand .cell, .masthead.is-menu-open .menu-toggle { background: rgba(255, 255, 255, 0.92); color: var(--ink); --box-line: var(--ink); }
}
/* v1.1: dropdowns are frosted glass like their header cell, not solid white. WhatsApp keeps its green.
   A backdrop-filter on the cell would stop the dropdown inside it from blurring the page, so on desktop the cell's blur sits on its link, which fills the cell. */
@media (min-width: 900px) {
  .menu-parent { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-parent > .menu-link { margin: -12.5px; padding: 12.5px; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
}
.dropdown--menu .menu-button:not(.menu-button--wa), .dropdown--menu .carousel {
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.masthead:not(.scaled) .dropdown--menu .menu-button:not(.menu-button--wa),
.masthead:not(.scaled) .dropdown--menu .carousel { background: rgba(255, 255, 255, 0.2); color: var(--hdr-text); --box-line: var(--hdr-line); }
.masthead:not(.scaled) .dropdown--menu .menu-button .sub { color: rgba(255, 255, 255, 0.8); }
.masthead:not(.scaled) .dropdown--menu .menu-button:not(.menu-button--wa):hover,
.masthead:not(.scaled) .dropdown--menu .menu-button:not(.menu-button--wa):focus-visible,
.masthead:not(.scaled) .dropdown--menu .carousel:hover .carousel-caption { background: rgba(255, 255, 255, 0.35); }
.masthead.scaled .dropdown--menu .menu-button:not(.menu-button--wa),
.masthead.scaled .dropdown--menu .carousel { background: rgba(255, 255, 255, 0.8); }
.masthead.scaled .dropdown--menu .menu-button:not(.menu-button--wa):hover,
.masthead.scaled .dropdown--menu .menu-button:not(.menu-button--wa):focus-visible,
.masthead.scaled .dropdown--menu .carousel:hover .carousel-caption { background: rgba(217, 210, 199, 0.85); }
/* v1.1: nearby places are links that open in Google Maps */
.near-item { padding: 0; }
.near-link { display: flex; align-items: center; width: 100%; min-height: 56px; padding: 10px 15px; color: inherit; text-decoration: none; transition: background 0.25s ease; }
.near-link::after { content: "\2197"; margin-left: auto; padding-left: 10px; opacity: 0.45; font-size: 0.9em; }
.near-link:hover, .near-link:focus-visible { background: var(--ecru, rgba(0,0,0,0.04)); }

/* v1.2 (23 Nov 2026): brand cell matches the menu cells' frost; header taller so the 15 David logo reads */
.masthead:not(.scaled) .brand .cell { background: rgba(255, 255, 255, 0.2); color: var(--hdr-text); --box-line: var(--hdr-line); }
.masthead:not(.scaled) .brand .cell:hover { background: rgba(255, 255, 255, 0.3); }
.brand .cell { height: 120px; padding: 9px 27px; }
.brand .logo { height: 102px; }
.menu-parent { height: 52px; padding: 16.5px 12.5px; }
@media (min-width: 900px) { .menu-parent > .menu-link { margin: -16.5px -12.5px; padding: 16.5px 12.5px; } } /* the link carries the cell's blur, so it fills the taller cell */
@media (max-width: 899px) {
  .brand .cell { height: 100px; padding: 9.5px 21px; }
  .brand .logo { height: 81px; }
  .menu-toggle { height: 100px; } /* matches the 100px brand cell */
  .mobile-menu { top: 112px; max-height: calc(100vh - 124px); } /* panel tucks under the taller bar: 12px margin + 100px cell, no border to subtract */
}

/* ---------- v1.3 (26 Nov 2026, at Jarod's request): the header BAR has no border lines in any state.
   Only the three bar cells — brand, menu, Menu — lose their outline. The frosted translucent fill is untouched,
   and the dropdown panels (.menu-button, .carousel) and the mobile panel items (.mobile-nav-item) keep theirs.
   Repeated per state so no state can bring a border back. ---------- */
.masthead .brand .cell,
.masthead .menu-parent,
.masthead .menu-toggle { border: 0; }
.masthead.scaled .brand .cell,
.masthead.scaled .menu-parent,
.masthead.scaled .menu-toggle { border: 0; }
.masthead:hover .brand .cell,
.masthead:hover .menu-parent,
.masthead:hover .menu-toggle { border: 0; }
.masthead .bar:focus-within .brand .cell,
.masthead .bar:focus-within .menu-parent,
.masthead .bar:focus-within .menu-toggle { border: 0; }
.masthead.is-menu-open .brand .cell,
.masthead.is-menu-open .menu-parent,
.masthead.is-menu-open .menu-toggle { border: 0; }
.masthead .menu-parent.is-open { border: 0; }
/* The cells used to overlap by 1px to share a border line; with no border there must be no overlap,
   or the two frosted fills would double up into a darker seam. */
.masthead .menu-parent,
.masthead .menu-toggle { margin-left: 0; }

/* ---------- v1.4 (26 Nov 2026): softer frost on the header and dropdowns. No hard outlines, faint separators only where
   items stack, 20px blur, and a soft shadow on the open dropdown. Content blocks below keep their 1px outline. ---------- */
.menu-parent, .menu-toggle, .brand .cell,
.dropdown--menu .menu-button:not(.menu-button--wa), .dropdown--menu .carousel {
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
}
@media (min-width: 900px) {
  .menu-parent { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-parent > .menu-link { -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }
}
.dropdown--menu .menu-button, .dropdown--menu .carousel { border: 0; margin-bottom: 0; }
.dropdown--menu .menu-button { min-height: 56px; }
.dropdown--menu > * + * { border-top: 1px solid rgba(255, 255, 255, 0.35); }
.masthead.scaled .dropdown--menu > * + * { border-top-color: rgba(43, 43, 43, 0.12); }
.dropdown--menu .carousel-stage { border-bottom-color: rgba(255, 255, 255, 0.35); }
.masthead.scaled .dropdown--menu .carousel-stage { border-bottom-color: rgba(43, 43, 43, 0.12); }
/* Rounded glass with a pale, diffused halo: the frost fades softly rather than ending in a hard edge. */
.brand .cell,
.menu-parent,
.menu-parent > .menu-link,
.menu-toggle,
.dropdown--menu,
.mobile-menu { border-radius: 12px; }
.brand .cell,
.menu-parent,
.menu-toggle { box-shadow: 0 10px 34px rgba(255, 255, 255, 0.12), 0 8px 26px rgba(0, 0, 0, 0.06); }
.dropdown--menu { padding-top: 0; margin-top: 0; overflow: hidden; }
.menu-parent:hover > .dropdown--menu, .menu-parent.is-open > .dropdown--menu, .menu-parent:focus-within > .dropdown--menu { box-shadow: 0 18px 44px rgba(255, 255, 255, 0.12), 0 16px 40px rgba(0, 0, 0, 0.12); }
@media (max-width: 899px) {
  .mobile-nav-item { border: 0; margin-top: 0; -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }
  .mobile-nav-item + .mobile-nav-item { border-top: 1px solid rgba(43, 43, 43, 0.12); }
  .mobile-menu.is-visible { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); padding: 0; left: 12px; right: 12px; }
  .mobile-subitem { border-top-color: rgba(43, 43, 43, 0.12); }
  .mobile-subitem .sub { color: var(--ink-muted); white-space: nowrap; }
  .mobile-subitem .sub::before { content: "\00B7"; margin-right: 12px; color: var(--ink); }
}

/* ---------- In-page viewer: brochure, plans, maps, Limestone site. Off-white panel, 1px charcoal frame, square. ---------- */
.viewer[hidden] { display: none; }
.viewer { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(43, 43, 43, 0.55); }
.viewer-panel { position: relative; display: flex; flex-direction: column; width: min(1100px, 100%); height: min(88vh, 100%); background: var(--box); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; }
.viewer-head { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 64px 0 18px; border-bottom: 1px solid var(--ink); }
.viewer-title { font-size: var(--nav-sub); line-height: 1.2; margin: 0; font-weight: inherit; }
.viewer-alt { margin-left: auto; font-size: var(--label); color: var(--ink-muted); }
.viewer-alt[hidden] { display: none; }
.viewer-close { position: absolute; top: 0; right: 0; width: 56px; height: 56px; padding: 0; border: 0; border-left: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; }
.viewer-close::before, .viewer-close::after { content: ""; position: absolute; left: 18px; right: 18px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.viewer-close::after { transform: rotate(-45deg); }
.viewer-close:hover, .viewer-close:focus-visible { background: var(--hover); outline: none; }
.viewer-body { position: relative; flex: 1 1 auto; min-height: 0; overflow: auto; }
.viewer-body iframe { display: block; width: 100%; height: 100%; border: 0; }
.viewer-body img { display: block; max-width: 100%; max-height: 100%; margin: 0 auto; object-fit: contain; }
.viewer-body.is-image { display: flex; align-items: center; justify-content: center; padding: 12px; background: var(--white); }
.viewer-fallback { padding: 32px 24px; }
.viewer-fallback p { margin: 0 0 10px; }
body.is-viewer-open { overflow: hidden; }
@media (max-width: 899px) { .viewer { padding: 12px; } .viewer-panel { height: 100%; } }
.menu-parent--homes .dropdown--menu { min-width: 360px; } /* room for the longest one-line unit */

/* ---------- v1.5 (2 Dec 2026): desktop header is one joined, stepped glass shape.
   The logo and menu share the same frost; only the outside corners and the step are rounded.
   A single clipped, blurred layer supplies the combined shadow, so there is no shadow seam at the join. ---------- */
@media (min-width: 900px) {
  .masthead .bar {
    --header-step: 50%;
    position: relative;
    isolation: isolate;
  }
  .masthead .bar:hover { --header-step: 33.333333%; }
  .masthead .bar::before {
    content: "";
    position: absolute;
    inset: 10px 8px -2px;
    z-index: -1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 52px, var(--header-step) 52px, var(--header-step) 120px, 0 120px);
    filter: blur(18px);
    transition: clip-path var(--t-hdr) ease;
  }
  .masthead.scaled .bar::before { display: none; }
  .masthead .brand .cell,
  .masthead:not(.scaled) .brand .cell,
  .masthead:not(.scaled) .brand .cell:hover {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    border: 0;
    border-radius: 12px 0 12px 12px;
    box-shadow: none;
  }
  .masthead.scaled .brand .cell { background: rgba(255, 255, 255, 0.35); }
  .masthead .menu { position: relative; z-index: 1; }
  .masthead .menu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    border-radius: 0 12px 12px 0;
  }
  .masthead.scaled .menu::before { background: rgba(255, 255, 255, 0.35); }
  .masthead .menu-parent,
  .masthead:not(.scaled) .menu-parent,
  .masthead:not(.scaled):hover .menu-parent,
  .masthead:not(.scaled) .menu-parent:hover,
  .masthead:not(.scaled) .menu-parent.is-open,
  .masthead .menu-parent.is-open,
  .masthead.scaled .menu-parent {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .masthead .menu-parent > .menu-link {
    position: relative;
    z-index: 1;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
  }
  .masthead:not(.scaled) .menu-parent:hover > .menu-link,
  .masthead:not(.scaled) .menu-parent.is-open > .menu-link {
    background: rgba(255, 255, 255, 0.12);
    color: var(--hdr-text);
  }
  .masthead.scaled .menu-parent:hover > .menu-link,
  .masthead.scaled .menu-parent.is-open > .menu-link {
    background: rgba(255, 255, 255, 0.18);
    color: var(--ink);
  }
}

/* ---------- v1.6 (3 Dec 2026): desktop-only collapsed navigation after the hero.
   The joined logo and hamburger keep the same 35% frost and 20px blur, with no shadow.
   The full navigation returns in 200ms; JavaScript controls the expanded state and keyboard access. ---------- */
.nav-collapse-toggle { display: none; }
@media (min-width: 900px) {
  .masthead.scaled .brand,
  .masthead.scaled .menu {
    transition: width 200ms var(--ease-out), opacity 160ms ease, visibility 0s;
  }
  .masthead.scaled .menu { opacity: 1; visibility: visible; }
  .masthead.scaled.is-nav-collapsed { pointer-events: none; }
  .masthead.scaled.is-nav-collapsed .brand,
  .masthead.scaled.is-nav-collapsed .nav-collapse-toggle { pointer-events: auto; }
  .masthead.scaled.is-nav-collapsed .brand { width: 50%; flex: 0 0 50%; }
  .masthead.scaled.is-nav-collapsed .menu {
    width: 0;
    min-width: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: width 200ms var(--ease-out), opacity 160ms ease, visibility 0s linear 200ms;
  }
  .masthead.scaled.is-nav-collapsed .nav-collapse-toggle {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.35);
    color: var(--ink);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    box-shadow: none;
  }
  .masthead.scaled.is-nav-collapsed .nav-collapse-toggle:hover { background: rgba(255, 255, 255, 0.5); }
  .nav-collapse-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
  .nav-collapse-toggle span,
  .nav-collapse-toggle span::before,
  .nav-collapse-toggle span::after {
    position: absolute;
    width: 18px;
    height: 1px;
    background: currentColor;
  }
  .nav-collapse-toggle span { position: relative; }
  .nav-collapse-toggle span::before,
  .nav-collapse-toggle span::after { content: ""; left: 0; }
  .nav-collapse-toggle span::before { top: -6px; }
  .nav-collapse-toggle span::after { top: 6px; }
}
