.moseo-lab-toolbar,.moseo-residences {
  --limestone: #e9ddd3;
  --limestone-line: #d6c4b3;
  --oak: #dcc2a7;
  --bronze: #4e3526;
  --focus: #956543;
}

.moseo-lab-toolbar {
  display: flex;
  align-items: center;
  padding: 5px clamp(.75rem, 3vw, 1.5rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  font-size: .875rem;
}

.site-header .mobile-menu-toggle .menu-icon,.moseo-residences .menu-toggle .menu-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.site-header .mobile-menu-toggle .menu-caption,.moseo-residences .menu-toggle .menu-caption {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
}

.moseo-residences {
  color-scheme: light;
  --paper: #f7f3ed;
  --ink: #282019;
  --muted: #66584d;
  --accent: #79563d;
  --line: #ded2c6;
  --gutter: clamp(1.35rem,5vw,5rem);
  font-family: system-ui,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  position: relative;
  line-height: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.moseo-residences a {
  color: inherit;
  text-decoration: none;
}

.moseo-residences button,.moseo-residences input,.moseo-residences select,.moseo-residences textarea {
  font: inherit;
}

.moseo-residences button {
  cursor: pointer;
}

.moseo-residences img,.moseo-residences video {
  display: block;
  max-width: 100%;
}

.moseo-residences p {
  margin: 0;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.moseo-residences h1,.moseo-residences h2,.moseo-residences h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.moseo-residences h2 {
  font-size: clamp(2rem,4.5vw,4.3rem);
  font-weight: 650;
}

.moseo-lab-toolbar a:focus-visible,.moseo-residences :is(a,button,select,textarea):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.moseo-residences .page-width {
  width: min(calc(100% - 2 * var(--gutter)),82rem);
  margin-inline: auto;
}

.moseo-residences .skip {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
}

.moseo-residences .skip:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
}

.moseo-residences .masthead {
  border-bottom: 1px solid var(--line);
}

.moseo-residences .masthead-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  gap: 1.4rem;
}

.moseo-residences .wordmark {
  display: inline-grid;
  justify-self: start;
  gap: .05rem;
  width: max-content;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .025em;
}

.moseo-residences .wordmark>span {
  font-size: 1.55rem;
}

.moseo-residences .wordmark small {
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .26em;
}

.moseo-residences .wordmark-dot {
  color: #9b6d48;
}

.moseo-residences .masthead nav {
  display: flex;
  justify-content: center;
  gap: .48rem;
}

.moseo-residences .masthead nav .button {
  --button-fill: #eee3d8;
  --button-border: #decebe;
}

.moseo-residences .header-contact {
  justify-self: end;
}

.moseo-residences .eyebrow {
  color: var(--accent);
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .095em;
  font-weight: 700;
  text-transform: uppercase;
}

.moseo-residences .button,.moseo-lab-toolbar .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  padding: .62rem .88rem;
  border: 1px solid var(--button-border,var(--limestone-line));
  border-radius: 5px;
  background: var(--button-fill,var(--limestone));
  color: var(--button-text,#3f2e24);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.moseo-residences .button:hover,.moseo-lab-toolbar .button:hover,
.moseo-residences .home-open:is(:hover,:focus-visible) .home-cta {
  background: var(--button-hover,#e2d1c2);
  text-decoration: none;
}

.moseo-residences .button-primary {
  --button-fill: var(--bronze);
  --button-border: var(--bronze);
  --button-text: #fffaf3;
  --button-hover: #3e2a1e;
}

.moseo-residences .button-utility {
  --button-fill: var(--oak);
  --button-border: #cdb094;
  --button-text: #463023;
  --button-hover: #d3b494;
}

.moseo-residences .menu-toggle {
  display: none;
}

.moseo-residences .hero-media {
  position: relative;
  isolation: isolate;
  width: 100%;
  background: #dce5ea;
  aspect-ratio: 2.12;
  max-height: 66svh;
  overflow: hidden;
}

.moseo-residences .hero-photo,.moseo-residences .hero-interior,.moseo-residences .hero-idle,.moseo-residences .hero-intro-still,.moseo-residences .hero-intro,.moseo-residences .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 64%;
}

.moseo-residences .hero-idle,.moseo-residences .hero-intro,.moseo-residences .hero-video {
  z-index: -1;
  pointer-events: none;
}

.moseo-residences .hero-idle.is-visible,.moseo-residences .hero-intro.is-visible,.moseo-residences .hero-video.is-visible {
  z-index: 1;
}

.moseo-residences .hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  padding-block: clamp(1.45rem,2.65vw,2.5rem);
  border-bottom: 1px solid var(--line);
}

.moseo-residences .hero-name {
  margin-bottom: .38rem;
  color: var(--accent);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.moseo-residences .hero-heading h1 {
  font-size: clamp(2.15rem,4.1vw,4.25rem);
  font-weight: 550;
  word-break: keep-all;
}

.moseo-residences .hero-tools {
  text-align: right;
}

.moseo-residences .tour-controls,.moseo-residences .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .48rem .55rem;
}

.moseo-residences .tour-controls .tour-action {
  justify-content: center;
  min-inline-size: 8.3rem;
  padding: .65rem 1rem;
}

.moseo-residences .tour-controls button[aria-disabled="true"] {
  cursor: progress;
}

.moseo-residences .hero-meta,.moseo-residences .tour-status {
  color: var(--muted);
  font-size: .875rem;
}

.moseo-residences .hero-meta:has(.button:not([hidden])) {
  margin-top: .55rem;
}

.moseo-residences .hero-view:not([hidden]) {
  padding-block: .65rem;
  margin-inline-end: .35rem;
}

.moseo-residences .hero [hidden] {
  display: none;
}

.moseo-residences .ocean-gallery {
  padding-block: clamp(2.8rem,4.8vw,4.75rem) clamp(2.5rem,4.5vw,4.25rem);
  border-bottom: 1px solid var(--line);
}

.moseo-residences .ocean-gallery-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.25rem,2.5vw,2.25rem);
}

.moseo-residences .ocean-gallery-intro h2 {
  font-size: clamp(1.9rem,3.35vw,3.2rem);
  font-weight: 550;
  word-break: keep-all;
}

.moseo-residences .ocean-gallery-intro p {
  max-width: 25rem;
  color: var(--muted);
}

.moseo-residences .ocean-gallery-grid,.moseo-residences .ocean-gallery-pair {
  display: grid;
  align-items: start;
  gap: clamp(1.15rem,2vw,1.8rem);
}

.moseo-residences .ocean-gallery-grid {
  grid-template-columns: minmax(0,1.65fr) minmax(0,1fr);
}

.moseo-residences .ocean-gallery figure {
  margin: 0;
}

.moseo-residences .ocean-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  background-color: #e1e0d5;
}

.moseo-residences .ocean-gallery-feature img {
  aspect-ratio: 11 / 8;
  object-position: 64% center;
}

.moseo-residences .ocean-gallery figcaption {
  padding-block: .65rem .75rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.moseo-residences .homes {
  padding-block: clamp(3.8rem,8vw,8.5rem);
}

.moseo-residences .section-lead {
  display: grid;
  grid-template-columns: minmax(0,1.75fr) minmax(0,1fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(1.6rem,3.4vw,3.1rem);
}

.moseo-residences .section-lead .eyebrow,.moseo-residences .collection-copy .eyebrow,.moseo-residences .philosophy .eyebrow,.moseo-residences .consult .eyebrow {
  margin-bottom: .8rem;
}

.moseo-residences .section-lead>p,.moseo-residences .collection-copy>p:not(.eyebrow) {
  color: var(--muted);
  max-width: 24rem;
}

.moseo-residences .demo-note {
  display: block;
  margin-top: .5rem;
  font-size: .8rem;
  color: var(--accent);
  font-weight: 650;
}

.moseo-residences .home-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.8rem,2.2vw,2rem);
}

.moseo-residences .home {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.moseo-residences .home-open {
  display: block;
  width: 100%;
  padding: 0 0 .85rem;
  text-align: left;
  border: 0;
  background: none;
  color: var(--ink);
}

.moseo-residences .home-open img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #e1e0d5;
}

.moseo-residences .home-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .8rem;
}

.moseo-residences .home-title {
  display: block;
  margin: .87rem 0 .3rem;
  font-size: clamp(1.05rem,1.7vw,1.56rem);
  font-weight: 700;
  letter-spacing: -.045em;
}

.moseo-residences .home-meta,.moseo-residences .home-line {
  font-size: .875rem;
  color: var(--muted);
}

.moseo-residences .collection {
  display: grid;
  grid-template-columns: minmax(0,1.75fr) minmax(0,1fr);
  background: #eee3d8;
}

.moseo-residences .collection img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: right center;
  background: var(--limestone-line);
}

.moseo-residences .collection-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem,4.8vw,5rem);
}

.moseo-residences .collection-copy h2 {
  margin: 0 0 1.1rem;
}

.moseo-residences .collection-copy .button {
  margin-top: 1.2rem;
}

.moseo-residences .philosophy {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: clamp(2rem,7vw,7rem);
  padding-block: clamp(3.9rem,8.5vw,8rem);
}

.moseo-residences .philosophy dl,.moseo-residences .dialog-copy dl {
  margin: 0;
}

.moseo-residences .philosophy dl>div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.moseo-residences .philosophy dl>div:last-child {
  border-bottom: 1px solid var(--line);
}

.moseo-residences dt {
  font-weight: 700;
}

.moseo-residences dd {
  margin: .3rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.moseo-residences .consult {
  background: #34281f;
  color: #fcf5ed;
}

.moseo-residences .consult-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(2.3rem,8vw,8rem);
  padding-block: clamp(3rem,6.5vw,6.2rem);
}

.moseo-residences .consult .eyebrow {
  color: var(--oak);
}

.moseo-residences .consult h2 {
  margin-bottom: 1rem;
}

.moseo-residences .consult p {
  color: #e2d4c8;
  max-width: 25rem;
}

.moseo-residences .consult :focus-visible {
  outline-color: var(--oak);
}

.moseo-residences .consult-form {
  display: grid;
  gap: .55rem;
  align-content: start;
}

.moseo-residences .consult-form label {
  font-weight: 650;
  font-size: .88rem;
}

.moseo-residences .consult-form label span {
  font-weight: 400;
}

.moseo-residences .consult-form select,.moseo-residences .consult-form textarea {
  width: 100%;
  padding: .65rem .7rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #c7ac96;
  border-radius: 0;
}

.moseo-residences .consult-form select,.moseo-residences .consult-form textarea {
  margin-bottom: .55rem;
}

.moseo-residences .consult-form textarea {
  resize: vertical;
  min-height: 4.3rem;
}

.moseo-residences .consult-form .button {
  margin-top: .25rem;
  justify-self: start;
}

.moseo-residences .consult-result {
  margin-top: .6rem;
}

.moseo-residences .consult-result textarea {
  margin-top: .4rem;
}

.moseo-residences .consult-status {
  font-size: .84rem;
}

.moseo-residences .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  padding-block: 2rem;
  color: var(--muted);
  font-size: .82rem;
}

.moseo-residences .footer .wordmark {
  color: var(--ink);
}

.moseo-residences .home-dialog {
  width: min(68rem,calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.moseo-residences .home-dialog::backdrop {
  background: #241b15a0;
}

.moseo-residences .dialog-top {
  display: flex;
  justify-content: flex-end;
  padding: .5rem .7rem;
}

.moseo-residences .dialog-body {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  align-items: start;
}

.moseo-residences .dialog-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #e1e0d5;
}

.moseo-residences .dialog-copy {
  padding: clamp(1rem,3vw,2.2rem);
  align-self: center;
}

.moseo-residences .dialog-copy h2 {
  font-size: clamp(1.9rem,4vw,3.2rem);
  margin: .55rem 0 1.15rem;
}

.moseo-residences .dialog-design {
  margin-bottom: .45rem;
  font-size: .95rem;
  letter-spacing: 0;
}

.moseo-residences .dialog-description {
  color: var(--muted);
}

.moseo-residences .dialog-copy dl {
  margin: 1.15rem 0;
  font-size: .87rem;
}

.moseo-residences .dialog-copy dl>div {
  border-top: 1px solid var(--line);
  padding: .55rem 0;
}

.moseo-residences .dialog-copy dd {
  margin: .15rem 0 0;
}

@media(max-width:760px) {
  .moseo-residences .masthead-inner {
    grid-template-columns: 1fr auto auto;
    gap: .44rem;
    min-height: 62px;
  }
  .moseo-residences .menu-toggle {
    display: inline-flex;
  }
  .moseo-residences .masthead .button {
    padding-inline: .56rem;
    font-size: .82rem;
  }
  .moseo-residences .masthead nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2;
    min-width: 11rem;
    flex-direction: column;
    gap: .38rem;
    padding: .55rem;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .moseo-residences .masthead nav[data-open] {
    display: flex;
  }
  .moseo-residences .masthead nav .button {
    justify-content: flex-start;
    padding-inline: .75rem;
  }
  .moseo-residences .hero-media {
    aspect-ratio: 1.17;
    max-height: 54svh;
  }
  .moseo-residences .hero-photo,.moseo-residences .hero-interior,.moseo-residences .hero-idle,.moseo-residences .hero-intro-still,.moseo-residences .hero-intro,.moseo-residences .hero-video {
    object-position: 76% center;
  }
  .moseo-residences .hero-caption {
    flex-direction: column;
    align-items: stretch;
  }
  .moseo-residences .hero-heading h1 {
    font-size: clamp(2.05rem,8.9vw,3.25rem);
  }
  .moseo-residences .hero-tools {
    text-align: left;
  }
  .moseo-residences .tour-controls,.moseo-residences .hero-meta {
    justify-content: flex-start;
  }
  .moseo-residences .ocean-gallery-intro {
    display: grid;
    gap: .55rem;
  }
  .moseo-residences .ocean-gallery-grid,.moseo-residences .ocean-gallery-pair {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .moseo-residences .ocean-gallery img {
    aspect-ratio: auto;
  }
  .moseo-residences .section-lead,.moseo-residences .philosophy,.moseo-residences .consult-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .moseo-residences .home-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    row-gap: 2rem;
  }
  .moseo-residences .home-dialog {
    width: min(35rem,calc(100% - 1.5rem));
  }
  .moseo-residences .dialog-body {
    grid-template-columns: 1fr;
  }
  .moseo-residences .dialog-copy {
    padding: 1.35rem;
  }
  .moseo-residences .collection {
    grid-template-columns: 1fr;
  }
  .moseo-residences .collection img {
    height: auto;
    order: 2;
  }
  .moseo-residences .collection-copy {
    order: 1;
  }
  .moseo-residences .collection-copy h2 br {
    display: none;
  }
  .moseo-residences .footer {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .moseo-residences .footer p {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .moseo-residences .footer .button {
    grid-column: 2;
    grid-row: 1;
  }
}

@media(max-width:520px) {
  .moseo-residences .home-grid {
    grid-template-columns: 1fr;
  }
  .moseo-residences .consult-inner {
    gap: 1.6rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  .moseo-residences *,.moseo-residences *::before,.moseo-residences *::after {
    scroll-behavior: auto!important;
    transition: none!important;
  }
}
