/* Oshin Villas, palette: Ocean #B0D6EF · Upper #662B17 · Essentials #EEEEE4 */
:root {
  --upper: #662B17;
  --upper-deep: #4E1F10;
  --ocean: #B0D6EF;
  --essentials: #EEEEE4;
  --muted-light: color-mix(in srgb, var(--essentials) 68%, var(--upper));
  --muted-dark: color-mix(in srgb, var(--upper) 62%, var(--essentials));
  --floor: #FBFBF7;
  --muted-blue: color-mix(in srgb, var(--upper) 72%, var(--ocean));

  /* brand fonts (data/brand.json): Cormorant Garamond for display, Lato for text. Display swapped to Instrument Sans (the wordmark face) 2026-10-13 at the client's request; the token keeps its old name */
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.7, .6, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* desktop scale; tablet/mobile multiply below */
  --s: 1;
  --pad: 4.5vw;
  --gap: 2.6vw;
  --h1: 16vw;
  --h2: calc(5.2vw * var(--s));
  --h3: calc(3.65vw * var(--s));
  --h4: calc(1.5vw * var(--s));
  --h5: calc(1.74vw * var(--s));
  --h6: calc(1.45vw * var(--s));
  --text: max(14px, calc(1.2vw * var(--s)));          /* floors keep body copy readable on phones */
  --small: max(11.5px, calc(.9vw * var(--s)));
  --hero-visual: 20vw;
}
@media (max-width: 1024px) { :root { --s: 1.54; --pad: 6vw; } }
@media (max-width: 650px) and (orientation: portrait) {
  :root { --s: 2.25; --pad: 5.5vw; --gap: 4vw; --h1: 24vw; --hero-visual: 52vw; }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ocean);
  color: var(--upper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--text);
  line-height: 1.35;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading, body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; font-weight: 400; }
/* display type */
.marquee__text, .intro h2, .plans__head h2, .cta h2, .values__stat, .next__title, .menu__list a,
.contact__panel h3, .selection-card__title, .unit-head__name, .preloader__count {
  font-family: var(--serif); font-weight: 500; font-variant-numeric: lining-nums;
}
::selection { background: var(--ocean); color: var(--upper); }

/* underline link, wipes in from the left on hover */
.u-link { position: relative; display: inline-flex; align-items: center; gap: .5em; }
.u-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.15em; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.u-link:hover::after, .u-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* split-text pieces */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-inner { display: inline-block; white-space: nowrap; will-change: transform; } /* measured lines never re-wrap */

/* ---------------- Preloader ---------------- */
.preloader {
  position: fixed; inset: 0; z-index: 100; background: var(--ocean);
  display: grid; place-items: center; color: var(--upper);
}
.preloader__count { font-size: calc(var(--h5) * 1); font-variant-numeric: tabular-nums; overflow: hidden; }
.preloader__mark {
  font-family: "Instrument Sans", var(--sans); font-weight: 500;
  position: absolute; left: var(--pad); bottom: 4svh; font-size: var(--small);
  text-transform: uppercase; letter-spacing: .14em; opacity: .7;
}
.rotate-overlay { display: none; }
@media (max-height: 500px) and (orientation: landscape) and (hover: none) {
  .rotate-overlay {
    display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
    background: var(--ocean); color: var(--upper); font-size: 16px;
  }
}

/* ---------------- Nav ---------------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: center; padding: 3.2svh var(--pad);
  color: var(--upper); transition: color .5s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.site-nav > * { pointer-events: auto; }
.logo {
  /* logo: the OSHIN wordmark (client artwork 2026-10-13), matched in Instrument Sans at 565 (stem = 16.6% of cap height, measured) with no added tracking */
  grid-column: 1 / 4; justify-self: start; font-family: "Instrument Sans", var(--sans); font-size: calc(var(--h6) * 1.55); letter-spacing: 0; line-height: 1; text-transform: uppercase;
  white-space: nowrap; font-weight: 565;
}
.nav-link { font-size: var(--text); justify-self: start; white-space: nowrap; }
.nav-link:nth-of-type(2) { grid-column: 5; }
.nav-link:nth-of-type(3) { grid-column: 6 / span 2; justify-self: center; }
.nav-link:nth-of-type(4) { grid-column: 8; }
.nav-link:nth-of-type(5) { grid-column: 9 / span 2; justify-self: center; }
.site-nav__actions { grid-column: 11 / 13; justify-self: end; display: flex; align-items: center; gap: 1.6vw; }
.explore-btn {
  --fill: var(--upper);
  position: relative; display: inline-flex; align-items: center; gap: .8em;
  padding: .75em 1.1em; border: 1px solid var(--fill); color: var(--fill);
  font-size: var(--small); text-transform: uppercase; letter-spacing: .1em; overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.explore-btn::before {
  content: ""; position: absolute; inset: 0; background: var(--fill); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease);
}
.explore-btn { isolation: isolate; }
.explore-btn:hover::before, .explore-btn[aria-expanded="true"]::before { transform: scaleY(1); }
.explore-btn:hover, .explore-btn[aria-expanded="true"] { color: var(--ocean); }
.menu-btn svg { width: calc(23px * var(--s) * .9); height: auto; }
body.on-light .site-nav { color: var(--upper); }
body.on-light .explore-btn { --fill: var(--upper); }
body.on-light .explore-btn:hover, body.on-light .explore-btn[aria-expanded="true"] { color: var(--essentials); }
/* sticky menu: stays put on scroll and gains a backing so it reads over any section */
.site-nav { transition: color .5s var(--ease), background-color .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease); }
body.is-scrolled .site-nav {
  background: color-mix(in srgb, var(--essentials) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding-top: 18px; padding-bottom: 18px; box-shadow: 0 1px 0 color-mix(in srgb, var(--upper) 12%, transparent);
}

@media (max-width: 650px) and (orientation: portrait) {
  .site-nav { grid-template-columns: 1fr auto; padding-top: 2.4svh; }
  .logo { grid-column: 1; font-size: calc(var(--h6) * 1.3); letter-spacing: 0; }
  .nav-link { display: none; }
  .site-nav__actions { grid-column: 2; gap: 4vw; }
  .explore-btn span { display: none; }
  .explore-btn { padding: .9em; }
}

/* ---------------- Selection drawer ---------------- */
.selection {
  position: fixed; top: 0; left: 0; right: 0; z-index: 35;
  background: var(--essentials); color: var(--upper);
  transform: translateY(-100%); transition: transform .9s var(--ease);
  padding: calc(3.2svh + 4.6vw) var(--pad) var(--pad);
}
body.selection-open .selection { transform: none; }
body.selection-open .site-nav { color: var(--upper); }
body.selection-open .explore-btn { --fill: var(--upper); }
body.selection-open .explore-btn[aria-expanded="true"] { color: var(--essentials); }
body.selection-open main { filter: brightness(.55); }
main { transition: filter .9s var(--ease); }
.selection__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); height: 56svh; }
.selection-card { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.selection-card__panel {
  flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto;
  padding: 1.4vw; background: var(--upper); color: var(--essentials); transition: background .5s var(--ease);
}
.selection-card:hover .selection-card__panel { background: var(--upper-deep); }
.selection-card__symbol { grid-column: 1; grid-row: 1; width: 2vw; }
.selection-card__title {
  grid-column: 2; grid-row: 1 / -1; align-self: end; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: calc(var(--h3) * 1.1); line-height: 1; letter-spacing: -.01em; white-space: nowrap;
}
.selection-card__desc { grid-column: 1; grid-row: 3; font-size: var(--small); opacity: .8; }
.selection-card__cover { height: 20svh; overflow: hidden; }
.selection-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.selection-card:hover .selection-card__cover img { transform: scale(1.07); }
/* the vertical titles scale with the card height too, so short or narrow screens never clip them */
.selection { max-height: 100svh; overflow-y: auto; overscroll-behavior: contain; }
.selection-card__title { font-size: min(calc(var(--h3) * 1.1), 6.6svh); }
/* tablets and phones: cards become rows with a horizontal title and the photo beside it */
@media (max-width: 1024px) {
  .selection { padding-top: calc(3.2svh + 56px); }
  .selection__cards { grid-template-columns: 1fr 1fr; height: auto; }
  .selection-card { flex-direction: row; height: clamp(120px, 19svh, 190px); }
  .selection-card__panel { flex: 1.5 1 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
  .selection-card__symbol { display: none; }
  .selection-card__title { writing-mode: horizontal-tb; transform: none; font-size: clamp(24px, 3.6vw, 34px); white-space: normal; }
  .selection-card__desc { font-size: 13px; }
  .selection-card__cover { flex: 1 1 0; height: 100%; }
}
@media (max-width: 650px) and (orientation: portrait) {
  .selection__cards { grid-template-columns: 1fr; gap: 10px; }
  .selection-card { height: clamp(104px, 16svh, 150px); }
  .selection-card__title { font-size: 26px; }
}

/* ---------------- Hero ---------------- */
/* client 2026-10-28: the video is the header from the top of the screen, the marquee runs below it, with a scroll cue */
.hero { position: relative; height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.hero__marquee { flex: none; position: relative; z-index: 1; padding: 1vw 0 1.2vw; }
.hero__visual { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(rgba(20, 30, 40, .38), rgba(20, 30, 40, 0) 24%), radial-gradient(ellipse 75% 55% at 50% 50%, rgba(20, 30, 40, .42), rgba(20, 30, 40, .2)); pointer-events: none; }
.hero__caption { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
/* stacked and centred so it reads top to bottom: WOODY POINT / NORTHERN BEACHES / OF BRISBANE */
.hero__caption-inner {
  display: grid; justify-items: center; gap: .9vw; margin: 0; color: var(--ocean); text-align: center;
  font-family: "Instrument Sans", var(--sans); font-weight: 500; text-transform: uppercase; line-height: .9; white-space: nowrap;
  text-shadow: 0 .04em .5em rgba(15, 25, 35, .35);
}
.hero__caption-inner span { font-size: 6.2vw; letter-spacing: .02em; }
.hero__caption-inner small { font-size: 1.5vw; letter-spacing: .22em; }
@media (max-width: 650px) and (orientation: portrait) {
  .hero__caption-inner { gap: 2.4vw; }
  .hero__caption-inner span { font-size: 8.2vw; }
  .hero__caption-inner small { font-size: 3.4vw; }
}
.hero__visual video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 46% 60%; }
.hero__scroll {
  position: absolute; left: 0; right: 0; bottom: 4svh; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .9em;
  color: var(--ocean); font-size: var(--small); letter-spacing: .22em; text-transform: uppercase; pointer-events: none;
}
.hero__scroll svg { width: clamp(18px, 1.5vw, 26px); height: auto; }
.hero__scroll-dot { animation: scroll-cue 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll-dot { animation: none; } }
/* nav reads light over the video until the page scrolls and the menu gains its backing */
body:has(.hero):not(.is-scrolled) .site-nav { color: var(--ocean); }
body:has(.hero):not(.is-scrolled) .explore-btn { --fill: var(--ocean); }
body:has(.hero):not(.is-scrolled) .explore-btn:hover, body:has(.hero):not(.is-scrolled) .explore-btn[aria-expanded="true"] { color: var(--upper); }
/* the Explore drawer is cream, so the nav switches back to Upper while it is open, even over the hero */
body.selection-open:has(.hero):not(.is-scrolled) .site-nav { color: var(--upper); }
body.selection-open:has(.hero):not(.is-scrolled) .explore-btn { --fill: var(--upper); }
body.selection-open:has(.hero):not(.is-scrolled) .explore-btn[aria-expanded="true"] { color: var(--essentials); }

.hero-intro { position: relative; z-index: 2; background: var(--ocean); padding: 12svh 0 0; text-align: center; }
.hero__content { width: min(42vw * var(--s), calc(100vw - var(--pad) * 2)); margin: 0 auto; }
.hero__content h1 { font-size: var(--h5); line-height: 1.3; letter-spacing: -.01em; max-width: 38vw; margin-inline: auto; }
@media (max-width: 1024px) { .hero__content h1 { max-width: none; } }
@media (max-width: 650px) and (orientation: portrait) { .hero-intro { padding-top: 9svh; } }

/* ---------------- Marquee ---------------- */
.marquee { width: 100vw; overflow: hidden; overflow-y: clip; pointer-events: none; padding-bottom: 2vw; }
.marquee__reveal { transform-origin: 50% 100%; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__text {
  display: flex; align-items: center; white-space: nowrap;
  font-size: calc(var(--h1) * 1.05); line-height: 1.05; letter-spacing: -.02em; color: var(--upper);
}
.light .marquee__text { color: var(--upper); }
.marquee__text::after { content: ""; flex: none; width: .16em; height: .16em; margin: 0 .55em; border-radius: 50%; background: currentColor; transform: translateY(.06em); }

/* ---------------- Gallery ---------------- */
.gallery { position: relative; z-index: 2; background: var(--ocean); padding: 12svh 0 14svh; }
.intro {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 var(--pad); margin-bottom: 9svh;
}
.intro__line, .cta__line { width: 1px; height: 9svh; background: var(--upper); margin-bottom: 5svh; transform-origin: top; }
.intro h2 { font-size: calc(var(--h2) * 1.15); line-height: 1; letter-spacing: -.01em; max-width: 50vw; }
.intro p { margin-top: 3.5svh; max-width: 30vw; color: var(--muted-blue); }
@media (max-width: 1024px) { .intro h2 { max-width: none; } .intro p { max-width: 70vw; } }

.slider { position: relative; }
.slider__viewport { overflow: hidden; padding-left: var(--pad); cursor: grab; touch-action: pan-y; }
.slider__viewport.is-dragging { cursor: grabbing; }
.slider__track { display: flex; gap: var(--gap); width: max-content; will-change: transform; }
.slider__item { height: 34vw; flex: none; overflow: hidden; user-select: none; }
.slider__item img { height: 100%; width: auto; pointer-events: none; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.slider__item.is-active img, .slider__item:hover img { transform: scale(1); }
.slider__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 2vw;
  width: min(20vw * var(--s), 60vw); margin: 5svh auto 0;
}
.slider__arrow {
  width: calc(3.4vw * var(--s)); aspect-ratio: 1; display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--upper) 40%, transparent); border-radius: 50%;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.slider__arrow svg { width: 32%; }
.slider__arrow:hover { background: var(--upper); color: var(--ocean); border-color: var(--upper); }
.slider__count { font-size: var(--small); font-variant-numeric: tabular-nums; opacity: .8; }
@media (max-width: 650px) and (orientation: portrait) { .slider__item { height: 92vw; } }

/* ---------------- Light sections ---------------- */
.light { background: var(--essentials); color: var(--upper); position: relative; z-index: 2; }
.outro { padding: 14svh 0 16svh; }
.outro__marquee { margin-bottom: 8svh; }
.quote {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: 0 var(--pad); align-items: start;
  grid-template-rows: 1fr auto auto 1fr; /* quote + attribution sit centred beside the figure */
}
.quote__figure { grid-column: 1 / 4; grid-row: 1 / -1; aspect-ratio: 1; overflow: hidden; }
.quote__figure img, .values__figure img, .values__figure video { width: 100%; height: 100%; object-fit: cover; }
.quote__text {
  grid-column: 5 / 12; grid-row: 2; font-family: var(--serif); font-weight: 400; font-size: calc(var(--h3) * 1.1);
  line-height: 1.14; letter-spacing: -.01em;
  text-wrap: balance; /* even line lengths */
}
.quote__attrib { grid-column: 5 / 12; grid-row: 3; margin-top: 4svh; display: flex; gap: .5em; font-size: var(--text); }
.quote__source { color: var(--muted-dark); }
@media (max-width: 650px) and (orientation: portrait) {
  .quote { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 5svh; }
  .quote__figure, .quote__text, .quote__attrib { grid-row: auto; }
  .quote__figure { width: 45vw; }
  .quote__figure, .quote__text, .quote__attrib { grid-column: 1; }
  .quote__attrib { margin-top: 0; }
}

/* ---------------- Parallax ---------------- */
.parallax { position: relative; z-index: 2; height: 110svh; overflow: hidden; background: var(--ocean); }
.parallax__viewport { position: absolute; inset: 0; overflow: hidden; }
.parallax__viewport img { width: 100%; height: 130%; object-fit: cover; position: absolute; top: -15%; left: 0; will-change: transform; }
@media (max-width: 650px) and (orientation: portrait) { .parallax { height: 70svh; } }

/* ---------------- Values ---------------- */
.values { display: flex; flex-direction: column; gap: 16svh; padding: 0 var(--pad); }
.values__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.values__figure { grid-column: 1 / 6; aspect-ratio: 4 / 5; overflow: hidden; }
.values__copy { grid-column: 7 / 10; }
.values__copy--end { align-self: end; }
.values__row--reverse .values__copy { grid-column: 2 / 5; align-self: start; }
.values__row--reverse .values__figure { grid-column: 8 / 13; }
.values__row:first-child .values__copy { align-self: start; }
.values__stat { font-size: calc(var(--h3) * 1.2); line-height: .95; letter-spacing: -.01em; }
.values__desc { margin-top: 3.5svh; color: var(--muted-dark); max-width: 22vw; }
@media (max-width: 1024px) { .values__desc { max-width: none; } .values__copy { grid-column: 7 / 13; } .values__row--reverse .values__copy { grid-column: 1 / 7; } }
@media (max-width: 650px) and (orientation: portrait) {
  .values { gap: 12svh; }
  .values__row { grid-template-columns: 1fr; row-gap: 5svh; }
  .values__row > * { grid-column: 1 !important; }
  .values__row--reverse .values__copy { order: 2; }
  .values__stat { font-size: calc(var(--h3) * .85); }
}

.pull-quote { padding: 22svh var(--pad) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.pull-quote__text {
  grid-column: 2 / 12; font-family: var(--serif); font-weight: 400; font-size: calc(var(--h3) * 1.1);
  line-height: 1.14; letter-spacing: -.01em;
}
.pull-quote .quote__attrib { grid-column: 2 / 12; }
@media (max-width: 650px) and (orientation: portrait) {
  .pull-quote__text, .pull-quote .quote__attrib { grid-column: 1 / -1; }
  .pull-quote__text { font-size: 5.1vw; margin-bottom: 1.2em; }
}

/* ---------------- CTA ---------------- */
.cta { position: relative; z-index: 2; background: var(--ocean); padding: 18svh var(--pad) 22svh; }
.cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta h2 { font-size: calc(var(--h2) * 1.15); line-height: 1; letter-spacing: -.01em; max-width: 56vw; }
.cta__link { margin-top: 5svh; font-size: var(--h4); line-height: 1.3; color: var(--upper); }
.cta__link svg { width: .9em; transition: transform .5s var(--ease); }
.cta__link a:hover svg { transform: translateX(.3em); }
@media (max-width: 1024px) { .cta h2 { max-width: none; } }

/* ---------------- Next ---------------- */
.next { position: relative; z-index: 2; height: 100svh; overflow: hidden; background: var(--upper-deep); }
.next__viewport { position: absolute; inset: 0; }
.next__parallax { position: absolute; inset: -12% 0; }
.next__parallax img { width: 100%; height: 100%; object-fit: cover; }
.next__overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(40, 14, 6, .55), rgba(40, 14, 6, .2) 70%), linear-gradient(to top, rgba(40, 14, 6, .55), transparent 60%); }
.next__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--essentials); padding: var(--pad);
}
.next__label { font-size: var(--small); text-transform: uppercase; letter-spacing: .14em; opacity: .85; }
.next__title { font-size: calc(var(--h1) * .66); line-height: 1.05; letter-spacing: -.01em; margin: .25em 0 .35em; padding-bottom: .05em; transition: scale 1s var(--ease-out); }
.next__content:hover .next__title { scale: 1.03; }
.next__desc { font-size: var(--h6); color: var(--ocean); text-shadow: 0 1px 18px rgba(40, 14, 6, .45); }

/* ---------------- Menu overlay ---------------- */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ocean); color: var(--upper);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu__close, .contact__close { position: absolute; top: 3.2svh; right: var(--pad); font-size: var(--small); text-transform: uppercase; letter-spacing: .12em; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a { display: inline-block; font-size: calc(var(--h2) * 1.4); line-height: 1.05; letter-spacing: -.01em; transition: color .4s var(--ease), transform .6s var(--ease-out); }
.menu__list a:hover { color: var(--muted-blue); transform: translateX(1vw); }
.menu__foot { position: absolute; left: var(--pad); bottom: 4svh; font-size: var(--small); opacity: .7; }

/* ---------------- Contact overlay ---------------- */
.contact { position: fixed; inset: 0; z-index: 70; visibility: hidden; transition: visibility 0s .9s; }
body.contact-open .contact { visibility: visible; transition: none; }
.contact__scrim { position: absolute; inset: 0; background: rgba(30, 10, 4, .5); opacity: 0; transition: opacity .9s var(--ease); }
body.contact-open .contact__scrim { opacity: 1; }
.contact__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: max(34vw, 420px); max-width: 100vw;
  background: var(--essentials); color: var(--upper); padding: 12svh var(--pad) var(--pad);
  transform: translateX(100%); transition: transform .9s var(--ease); overflow-y: auto;
}
body.contact-open .contact__panel { transform: none; }
.contact__panel h3 { font-size: max(calc(var(--h3) * 1.15), 38px); line-height: 1; letter-spacing: -.01em; }
.contact__lede { margin-top: 3svh; color: var(--muted-dark); font-size: max(var(--text), 15px); }
.contact__form { margin-top: 5svh; display: grid; gap: 2.4svh; }
.contact__form label { display: grid; gap: .5em; font-size: max(var(--small), 12px); text-transform: uppercase; letter-spacing: .1em; color: var(--muted-dark); }
.contact__form input, .contact__form textarea {
  font: inherit; font-size: max(var(--text), 16px); text-transform: none; letter-spacing: -.01em; color: var(--upper);
  background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--upper) 35%, transparent);
  padding: .6em 0; border-radius: 0; resize: vertical; outline: none; transition: border-color .3s;
}
.contact__form input:focus, .contact__form textarea:focus { border-color: var(--upper); }
.contact__form .is-invalid { border-color: #B3261E; }
.contact__submit {
  justify-self: start; margin-top: 1svh; display: inline-flex; align-items: center; gap: .8em;
  background: var(--upper); color: var(--essentials); padding: 1em 1.6em; font-size: max(var(--text), 15px);
  transition: background .4s var(--ease);
}
.contact__submit:hover { background: var(--upper-deep); }
.contact__submit svg { width: .9em; }
.contact__thanks { margin-top: 5svh; font-size: max(var(--h5), 20px); }
.contact__panel :is(h3, .contact__lede, .contact__form, .contact__thanks) { width: 100%; }
/* phones and short screens: the whole form fits on one screen, no scrolling */
@media (max-width: 650px), (max-height: 1100px) {
  .contact__panel { padding-top: max(9svh, 64px); padding-bottom: 3svh; }
  .contact__panel h3 { font-size: clamp(30px, 5svh, 44px); }
  .contact__lede { margin-top: 1.6svh; font-size: 15px; line-height: 1.45; }
  .contact__form { margin-top: 2.6svh; gap: 1.5svh; }
  .contact__form label { gap: .2em; font-size: 11px; }
  .contact__form input, .contact__form textarea { padding: .4em 0; }
  .contact__form textarea { height: 3.4em; min-height: 2.4em; }
  .contact__submit { margin-top: .6svh; padding: .8em 1.4em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------- Floor plans teaser (home) ---------------- */
.selection-card__cover--plan { background: var(--essentials); }
.selection-card__cover--plan img { object-fit: contain; padding: 6%; }
.unit-sym { text-transform: none; }

.plans-teaser {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  padding: 14svh var(--pad);
}
.plans-teaser__copy { grid-column: 2 / 6; }
.plans-teaser__eyebrow { font-size: var(--small); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 2svh; }
.plans-teaser h2 { font-family: var(--serif); font-weight: 500; font-size: calc(var(--h3) * 1.2); line-height: 1; letter-spacing: -.01em; }
.plans-teaser__copy > p:not(.plans-teaser__eyebrow) { margin-top: 2.6svh; color: var(--muted-dark); }
.plans-teaser__stats { list-style: none; padding: 0; margin: 4svh 0; display: flex; gap: 3vw; }
.plans-teaser__stats li { display: grid; gap: .2em; }
.plans-teaser__stats strong { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; font-size: var(--h3); line-height: 1; }
.plans-teaser__stats span { font-size: var(--small); color: var(--muted-dark); }
.plans-teaser__btn {
  display: inline-flex; align-items: center; gap: .8em; padding: 1em 1.6em; background: var(--upper); color: var(--essentials);
  font-size: max(var(--text), 15px); transition: background .4s var(--ease);
}
.plans-teaser__btn svg { width: .9em; transition: transform .5s var(--ease); }
.plans-teaser__btn:hover { background: var(--upper-deep); }
.plans-teaser__btn:hover svg { transform: translateX(.3em); }
.plans-teaser__card {
  grid-column: 7 / 12; position: relative; display: block; padding: 3vw; background: var(--floor);
  border: 1px solid color-mix(in srgb, var(--upper) 14%, transparent); transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
}
.plans-teaser__card img { width: 100%; height: auto; aspect-ratio: 8569 / 8939; }
.plans-teaser__card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(102, 43, 23, .45); }
.plans-teaser__tag { position: absolute; left: 1.2vw; bottom: 1vw; font-size: var(--small); color: var(--muted-dark); }
@media (max-width: 1024px) {
  .plans-teaser__copy { grid-column: 1 / 7; }
  .plans-teaser__card { grid-column: 7 / 13; }
}
@media (max-width: 650px) and (orientation: portrait) {
  .plans-teaser { grid-template-columns: 1fr; row-gap: 6svh; padding: 12svh var(--pad); }
  .plans-teaser__copy, .plans-teaser__card { grid-column: 1; }
  .plans-teaser__stats { gap: 9vw; }
  .plans-teaser__card { padding: 6vw; }
  .plans-teaser__tag { left: 4vw; bottom: 3vw; }
}

/* ---------------- Inclusions ---------------- */
.inclusions { padding: 4svh var(--pad) 18svh; }
.inclusions__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-bottom: 5svh; border-bottom: 1px solid var(--upper); }
.inclusions__eyebrow { grid-column: 1 / -1; font-size: var(--small); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 2svh; }
.inclusions__head h2 { grid-column: 1 / 7; font-family: var(--serif); font-weight: 500; font-size: calc(var(--h2) * 1.1); line-height: 1; letter-spacing: -.01em; }
.inclusions__lede { grid-column: 8 / 12; color: var(--muted-dark); }
.inclusions__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); padding-top: 4svh; }
.inclusions__col h3 { font-size: var(--small); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 1.6svh; }
.inclusions__col ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--upper) 22%, transparent); }
.inclusions__col li { padding: 1.3svh 0; border-bottom: 1px solid color-mix(in srgb, var(--upper) 22%, transparent); font-size: max(var(--small), 13px); line-height: 1.4; }
.inclusions__note { margin-top: 3svh; font-size: max(var(--small), 12px); font-style: italic; color: var(--muted-dark); }
@media (max-width: 1024px) {
  .inclusions__head h2 { grid-column: 1 / -1; }
  .inclusions__lede { grid-column: 1 / -1; margin-top: 2svh; }
  .inclusions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 5svh; }
}
@media (max-width: 650px) and (orientation: portrait) {
  .inclusions__grid { grid-template-columns: 1fr; }
  .inclusions__col li { font-size: 14px; }
}


/* home page full-width renders: show the whole image, no crop (client request) */
#top > .parallax { height: auto; }
#top > .parallax .parallax__viewport { position: relative; inset: auto; }
#top > .parallax .parallax__viewport img { position: static; width: 100%; height: auto; top: auto; transform: none !important; }

/* sans display (Instrument Sans): big headlines read heavy and wide at 500, so set them lighter and tighter */
html :is(.marquee__text, .intro h2, .plans__head h2, .cta h2, .next__title, .menu__list a, .selection-card__title,
  .plans-teaser h2, .inclusions__head h2, .ls__title, .ls__h2, .ls-story__intro h1, .ls__further-list strong, .unit-head__name) {
  font-weight: 400; letter-spacing: -.035em;
}

/* below ~1100px the inline links collide; the menu button carries them instead */
@media (max-width: 1100px) { .site-nav .nav-link { display: none; } }

/* ---------------- Footer ---------------- */
.site-foot {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1.5em;
  padding: 22px var(--pad); background: var(--upper-deep); color: var(--essentials);
  font-size: max(var(--small), 11px); text-transform: uppercase; letter-spacing: .14em;
}
.site-foot p { margin: 0; opacity: .7; }
.site-foot__credit { display: flex; align-items: center; gap: 1.5em; color: var(--essentials); }
.site-foot .site-foot__credit { opacity: 1; }
.site-foot__credit span { opacity: .7; }
.site-foot__credit img { display: block; height: clamp(34px, 2.7vw, 46px); width: auto; }
.menu__foot a { color: inherit; }
