:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --white: #fffcf7;
  --cream: #ebe4da;
  --ink: #192535;
  --ink-deep: #111926;
  --muted: #535c67;
  --line: #d6cec3;
  --copper: #e1ac90;
  --copper-dark: #8c4e38;
  --header-height: 78px;
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shell: 1224px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 620; line-height: 1.07; letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 4.3vw, 4.15rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.75rem); }
p + p { margin-top: .85rem; }
:focus-visible { outline: 3px solid var(--copper-dark); outline-offset: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.overview :focus-visible, .condo :focus-visible, .neighborhood-card :focus-visible, dialog :focus-visible { outline-color: var(--copper); }
.shell { width: min(var(--shell), calc(100% - 6rem)); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 8vw, 7.5rem); }
.eyebrow { color: var(--copper-dark); font-size: .75rem; font-weight: 700; letter-spacing: .14em; line-height: 1.45; text-transform: uppercase; margin-bottom: .85rem; }
.skip { position: fixed; z-index: 20; inset: .6rem auto auto .6rem; background: var(--white); padding: .65rem 1rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--ink-deep); color: var(--paper); }
.home-page .site-header {
  margin-bottom: calc(-1 * var(--header-height));
  background: linear-gradient(to bottom, #0b121fd9, #0b121f7a);
}
.home-page .site-header.is-scrolled { background: var(--ink-deep); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; flex: none; }
.brand img { width: 129px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.65rem); }
.site-header nav a, .site-footer a { text-decoration: none; }
.site-header nav a { font-size: .9rem; font-weight: 600; }
.site-header nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .32em; }
.button, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 49px; padding: .65rem 1.25rem; border: 1px solid var(--ink); border-radius: 4px;
  color: white; background: var(--ink); text-decoration: none; text-align: center; font-size: .88rem; font-weight: 700;
  transition: background-color .17s ease, color .17s ease, border-color .17s ease;
}
.button:hover { background: #324156; border-color: #324156; color: white; }
.button-outline { background: transparent; color: var(--ink); }
.button-small { min-height: 42px; padding: .45rem 1rem; }
.header-cta { flex-shrink: 0; white-space: nowrap; color: var(--white); border-color: #fff7eb80; }
.header-cta:hover, .menu-toggle:hover { border-color: var(--copper); }
.button-light { background: var(--white); color: var(--ink-deep); border-color: var(--white); }
.button-light:hover { background: var(--copper); color: var(--ink-deep); border-color: var(--copper); }
.text-link {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0;
  color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: .29em;
  text-decoration-thickness: 1px; font-weight: 700; font-size: .91rem;
}
.text-link:hover { color: var(--copper-dark); }

.hero {
  position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto;
  min-height: 680px; min-height: max(680px, 100svh); padding-top: var(--header-height);
  background: var(--ink-deep); color: var(--white);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, #080f1ae8 0%, #0b1324b3 29%, #0d152248 63%, #0b132418 100%),
    linear-gradient(0deg, #0c1421f7 0%, #0c142142 33%, transparent 63%);
}
.hero-copy { align-self: end; padding-block: clamp(4rem, 10vh, 8rem) clamp(2.5rem, 10vh, 6rem); }
.hero-copy .eyebrow { color: #f1c2a7; margin-bottom: 1.3rem; }
.hero h1 {
  font-size: clamp(4.2rem, 10vw, 10.75rem);
  font-weight: 610; line-height: .86; letter-spacing: -.062em; margin: 0 0 .28em; text-transform: uppercase;
}
.hero-title-line { display: block; overflow: hidden; padding: .065em .04em .09em 0; margin-block: -.065em -.09em; }
.hero-title-line:first-child { font-size: .55em; font-weight: 500; letter-spacing: -.048em; margin-bottom: .09em; }
.hero-title-line > span { display: block; }
.hero-intro { font-weight: 500; font-size: clamp(1.1rem, 1.7vw, 1.45rem); letter-spacing: -.02em; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
.hero .button { background: var(--copper); color: var(--ink-deep); border-color: var(--copper); }
.hero .button:hover { background: var(--white); border-color: var(--white); }
.hero .button-outline { background: #11192636; color: var(--white); border-color: #fff8eea1; }
.hero .button-outline:hover { background: var(--white); color: var(--ink-deep); }
.broker-brand {
  display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.55rem;
  text-decoration: none; font-size: .75rem; font-weight: 600;
}
.broker-brand:hover > span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.broker-mark { position: relative; display: block; width: clamp(9.25rem, 16vw, 11.5rem); aspect-ratio: 2.2; overflow: hidden; }
.broker-mark img {
  position: absolute; top: 50%; left: 50%; width: 106%; max-width: none; height: auto;
  transform: translate(-50%, -50%); mix-blend-mode: screen;
}
.hero-picture { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.hero-image-stack { position: absolute; inset: 0; }
.hero-image-stack img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero-image-stack img[data-scene="studio"],
.hero-image-stack img[data-scene="rooftop"],
.hero-image-stack img[data-scene="piscina"] { object-position: 50% 51%; }
.hero-rail {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem;
  border-top: 1px solid #fff8ee58; padding-block: .7rem 1rem; font-size: .78rem;
}
.hero-views { display: flex; flex-wrap: wrap; gap: .3rem clamp(.25rem, 1.5vw, 1rem); }
.js-pending .hero-views[hidden] { display: flex !important; visibility: hidden; }
.hero-views button {
  position: relative; padding: .4rem .45rem; min-height: 44px; border: 0;
  background: transparent; color: #f6eee4; font-weight: 600; white-space: nowrap;
}
.hero-views button:hover, .hero-views button[aria-pressed="true"] { color: #ffcfb5; }
.hero-views button[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: auto .45rem .3rem; height: 2px; background: var(--copper);
  transform-origin: left;
}
.hero-views .hero-playback { border-left: 1px solid #fff8ee58; padding-left: .9rem; }
.hero-explore { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.hero-film {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  font-weight: 700; letter-spacing: .055em; text-transform: uppercase; text-decoration: none;
}
.hero-film:hover { color: var(--copper); }
.hero-film span { font-size: 1.32em; line-height: 1; color: var(--copper); }

.overview { background: var(--ink-deep); color: var(--white); }
.overview-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.5rem 3rem; align-items: end; }
.overview-intro p { color: #ded9d0; max-width: 42ch; }
.masked-title { font-size: clamp(2.85rem, 7.5vw, 7.4rem); font-weight: 530; line-height: .92; text-transform: uppercase; }
.masked-title span { display: block; }
.overview-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-block: 1px solid #f8eee64a; margin: 2.8rem 0 0; padding-block: 1.25rem; }
.overview-facts div { display: flex; flex-direction: column-reverse; }
.overview-facts dt { color: #ded9d0; font-size: .83rem; }
.overview-facts dd { margin: 0; color: var(--copper); font: 550 clamp(1.5rem, 3.3vw, 3.2rem)/1.15 var(--display); letter-spacing: -.04em; }

.section-head, .condo-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.filters { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, 1fr); padding: .24rem; border: 1px solid var(--line); border-radius: 5px; }
.filters::before {
  content: ""; position: absolute; z-index: -1; inset: .24rem auto .24rem .24rem;
  width: calc((100% - .48rem) / 3); border-radius: 3px; background: var(--ink);
  transform: translateX(calc(var(--filter-index, 0) * 100%));
}
.filters button {
  min-height: 40px; padding: .35rem .8rem; border: 0; border-radius: 3px; background: transparent;
  color: var(--ink); font-size: .84rem; font-weight: 700;
}
.filters button:hover:not([aria-pressed="true"]) { background: var(--cream); }
.filters button[aria-pressed="true"] { color: white; }
.inventory-empty { background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.6rem 2rem; }
.empty-title { font-weight: 700; }
.inventory-empty p + p { color: var(--muted); margin-top: .25rem; }
.inventory-empty .button { flex-shrink: 0; }
.unit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.unit-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.unit-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--cream); }
.unit-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.unit-card .eyebrow { margin-bottom: .5rem; }
.unit-card h3 { font-size: clamp(1.4rem, 2.15vw, 2rem); line-height: 1.12; overflow-wrap: anywhere; }
#anuncios-iniciais h3 a { text-decoration-thickness: 1px; text-underline-offset: .16em; }
#anuncios-iniciais .inventory-empty { grid-column: 1 / -1; }
.unit-card .unit-meta { color: var(--muted); margin-block: .65rem; }
.unit-card .unit-price { font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; letter-spacing: -.025em; margin-top: auto; }
.unit-card .actions { margin-top: 1rem; }

.condo { background: var(--ink-deep); color: var(--white); }
.condo .eyebrow { color: var(--copper); }
.condo-description { max-width: 48ch; color: #ded9d0; }
.condo-description .text-link { color: var(--copper); margin-top: .25rem; }
.condo-intro h2 { max-width: 13ch; }
.gallery { --gallery-gap: clamp(.55rem, 1.3vw, 1.1rem); }
.gallery-amenities { margin-top: clamp(2.4rem, 6vw, 5rem); }
.gallery-amenities h3 { margin-bottom: 1.1rem; }
.gallery-spaces, .story-chapters { display: grid; gap: var(--gallery-gap); }
.gallery-spaces { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.story-chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-tile { display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none; background: #263244; }
.gallery-tile img { width: 100%; aspect-ratio: 1.85; object-fit: cover; }
.gallery-tile[data-gallery="lavanderia"] img { object-position: 50% 52%; }
.gallery-caption {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: .35rem;
  min-height: 44px; padding: .4rem .75rem; background: #202c3d; font-size: clamp(.76rem, 1.2vw, .97rem); font-weight: 650;
}
.gallery-caption > span { color: var(--copper); }
.gallery-tile:hover .gallery-caption, .condo .text-link:hover { color: var(--copper); }
.condo-description .text-link:hover { color: var(--white); }
.story-copy, .story-action { display: none; }
.story-enhanced { display: grid; grid-template-columns: minmax(0, 1.33fr) minmax(0, .67fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.story-stage {
  position: sticky; top: calc(var(--header-height) + 1.25rem); isolation: isolate;
  height: clamp(360px, 72svh, 640px); overflow: hidden; background: #283446;
}
.story-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-enhanced .story-chapters { display: block; }
.story-enhanced .story-chapter {
  display: grid; gap: .7rem; align-content: center; min-height: clamp(300px, 61svh, 570px);
  border-top: 1px solid #fff8ee36;
}
.story-enhanced .story-chapter.is-current { border-color: var(--copper); }
.story-enhanced .story-copy, .story-enhanced .story-action { display: block; }
.story-enhanced p.story-copy { max-width: 34ch; color: #ded9d0; }
.story-enhanced .story-link {
  display: inline-flex; align-items: center; justify-self: start; min-height: 44px;
  background: transparent; font-weight: 650; font-size: .92rem; text-decoration: underline; text-underline-offset: .27em;
}
.story-enhanced .story-link:hover { color: var(--copper); }
.story-enhanced .story-link img, .story-enhanced .story-link .gallery-caption { display: none; }
.story-video { color: var(--copper); font-size: .8rem; gap: .3rem; line-height: 1.2; }
.story-enhanced .story-video { justify-self: start; }
.condo .story-video:hover { color: var(--white); }
.studio-plan {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center;
  gap: clamp(1.25rem, 5vw, 5rem); margin-block: clamp(2.5rem, 6vw, 5.5rem) 2rem;
  padding-top: clamp(2rem, 4.5vw, 4rem); border-top: 1px solid #fff8ee36;
}
.studio-plan h3 { font-size: clamp(2rem, 4.35vw, 4.15rem); text-wrap: balance; }
.studio-plan p { margin-top: .8rem; color: #ded9d0; }
.plan-map { position: relative; justify-self: end; width: 100%; max-width: 620px; border-radius: 3px; background: var(--cream); }
.plan-map img { width: 100%; height: auto; aspect-ratio: 1; border-radius: inherit; }
.plan-room {
  position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: .25rem .55rem; border: 1px solid var(--ink-deep);
  border-radius: 100px; background: var(--white); color: var(--ink-deep); box-shadow: 0 2px 9px #11192655;
  font-size: clamp(.75rem, 1.5vw, .9rem); font-weight: 700; white-space: nowrap; text-decoration: none;
}
.plan-room:hover, .plan-room:focus-visible { z-index: 1; background: var(--copper); }
.feature-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 1.5rem; list-style: none; padding: 0; margin: 1.35rem 0 .8rem; }
.feature-list li { border-bottom: 1px solid #fff8ee36; padding-block: .75rem; color: #ede7de; }
.condo-links { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }

.location { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem,6vw,6rem); }
.location-copy > p:not(.eyebrow) { margin-top: 1rem; max-width: 48ch; }
.address { font-weight: 700; margin-bottom: .4rem; }
.neighborhood-card { background: var(--ink); color: var(--white); padding: clamp(1.6rem, 4.8vw, 4.25rem); }
.neighborhood-card p { max-width: 46ch; margin: 1rem 0 .8rem; color: #eee9e1; }
.neighborhood-links { list-style: none; margin: 0; padding: 0; }
.neighborhood-links li + li { border-top: 1px solid #fff8ee36; }
.neighborhood-links a:hover { color: var(--copper); }
.neighborhood-links a span { flex-shrink: 0; }
.owner { background: var(--cream); padding-block: 2.6rem; }
.owner h2 { font-size: clamp(2rem,3.75vw,3.3rem); }
.owner p:not(.eyebrow) { margin-top: .65rem; }
.owner-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.owner-inner .button { flex-shrink: 0; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,6.5vw,6rem); }
.contact h2 { font-size: clamp(2.15rem,3.75vw,3.75rem); }
.contact-copy p:not(.eyebrow) { margin: 1rem 0 .4rem; max-width: 36ch; }
.lead-form { background: var(--white); border: 1px solid var(--line); padding: clamp(1.15rem,3vw,2.25rem); }
.form-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
label { display: block; font-weight: 700; font-size: .85rem; }
.optional, .form-note { color: var(--muted); font-weight: 400; }
input, select, textarea {
  display: block; width: 100%; min-height: 46px; margin-top: .32rem; padding: .57rem .7rem; color: var(--ink-deep);
  border: 1px solid #9a9692; border-radius: 3px; background: var(--white); font-size: 1rem;
}
textarea { resize: vertical; }
.selected-unit {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); padding-inline: .7rem; font-size: .85rem;
}
.form-note, .form-status { font-size: .83rem; margin-top: .8rem; }
.lead-form > .button { margin-top: .8rem; }
.form-status:empty { display: none; }
.form-status[data-error="true"] { color: #8d3429; }
.faq { background: var(--cream); }
.faq-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; }
details { border-bottom: 1px solid #c3b7a9; padding-block: .95rem; }
details:first-child { border-top: 1px solid #c3b7a9; }
summary { font-weight: 700; cursor: pointer; }
details p { margin-top: .55rem; color: var(--muted); }
.site-footer { background: var(--ink-deep); color: #f6f1e6; padding-block: 2rem; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-broker { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.footer-credit {
  display: flex; justify-content: end; align-items: center; gap: .65rem;
  margin-top: 1.2rem; padding-top: .8rem; border-top: 1px solid #f6f1e633; font-size: .8rem;
}
.footer-credit img { width: 40px; height: 40px; object-fit: contain; }

dialog { width: min(900px,calc(100% - 1.25rem)); max-height: calc(100dvh - 2rem); padding: 1rem; border: 0; background: var(--ink-deep); color: white; }
dialog::backdrop { background: #0c1421eb; }
#midia.is-tour[open] {
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: .65rem;
  width: min(1440px, calc(100% - 1rem)); height: calc(100dvh - 1rem); max-height: calc(100dvh - 1rem);
  padding: clamp(.65rem, 2vw, 1.4rem);
}
.media-head, .media-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.media-head h2 { font-size: clamp(1.4rem,2.7vw,2.25rem); }
.media-head button, .media-nav button {
  flex: 0 0 44px; height: 44px; padding: 0; color: white; background: transparent; border: 1px solid #9aa3af;
  border-radius: 3px; font-size: 1.35rem;
}
.media-spaces { display: flex; flex-wrap: wrap; gap: .2rem .35rem; padding-block: .2rem; }
.media-spaces button {
  min-height: 44px; padding: .3rem .65rem; border: 1px solid #8390a0; border-radius: 3px;
  background: transparent; color: var(--white); font-weight: 650; font-size: .78rem;
}
.media-spaces button[aria-pressed="true"] { border-color: var(--copper); background: var(--copper); color: var(--ink-deep); }
.media-spaces button:hover:not([aria-pressed="true"]), .media-head button:hover, .media-nav button:hover { border-color: var(--copper); color: var(--copper); }
.media-nav { justify-content: center; }
.media-nav span { min-width: 12ch; text-align: center; font-size: .84rem; }
#midia-conteudo { margin-block: .8rem; }
#midia-conteudo img { width: 100%; height: min(60dvh, 640px); object-fit: contain; }
#midia.is-tour #midia-conteudo { display: grid; place-items: center; margin: 0; overflow: hidden; touch-action: pan-y pinch-zoom; }
#midia.is-tour #midia-conteudo img { height: 100%; min-height: 0; }
#midia-conteudo iframe { width: 100%; max-height: 65dvh; aspect-ratio: 16/9; border: 0; }
.media-local-video { display: block; height: min(70dvh, 640px); width: auto; max-width: 100%; aspect-ratio: 478 / 850; margin-inline: auto; background: #080d16; }
.media-plan-back { color: var(--copper); margin-top: .35rem; }
.media-plan-back:hover { color: var(--white); }
#midia:has(.media-plan-back:not([hidden])) #midia-conteudo { touch-action: pan-y pinch-zoom; }

.admin-page .shell { max-width: 1000px; }
.admin-page h1 { font-size: clamp(3rem,6vw,5.5rem); }
.admin-page h2 { font-size: 2.45rem; }
.admin-page .lead-form { margin-top: 1.4rem; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.admin-list { display: grid; gap: .55rem; list-style: none; padding: 0; }
.admin-list li { display: flex; justify-content: space-between; gap: .8rem; border: 1px solid var(--line); padding: .7rem; background: var(--white); align-items: center; }
.admin-list li div { display: flex; flex-direction: column; }
.admin-wide { grid-column: 1 / -1; }
.check-label { display: flex; align-items: center; gap: .6rem; }
.check-label input { width: 1.1rem; margin: 0; }

@media (max-width: 980px) {
  .shell { width: calc(100% - 4rem); }
  .header-inner { gap: 1rem; }
  .site-header nav { gap: 1rem; }
  .unit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-spaces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  :root { --header-height: 64px; }
  html { scroll-padding-top: 79px; }
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .55rem; padding-block: .55rem; }
  .brand img { width: 110px; }
  .site-header nav { order: 3; width: 100%; flex-wrap: wrap; gap: .1rem 1.05rem; padding-block: .25rem; }
  .js-pending .home-page .site-header nav { display: none; }
  .site-header nav a { padding-block: .42rem; }
  .header-cta { margin-left: auto; padding-inline: .58rem; }
  .header-cta span { display: none; }
  .menu-toggle { order: 2; display: inline-flex; background: transparent; border-color: #fff7eb80; min-height: 44px; padding-inline: .58rem; }
  .js-pending .menu-toggle[hidden] { display: inline-flex !important; visibility: hidden; }
  .home-page .site-header:has(.menu-toggle[aria-expanded="true"]) { background: var(--ink-deep); }
  .hero { min-height: 620px; min-height: max(620px, 100svh); }
  .hero::after { background: linear-gradient(0deg, #0b1324fa 3%, #0b1324ba 38%, #0b132438 82%); }
  .hero-copy { padding-block: 4rem 2rem; }
  .hero h1 { font-size: clamp(3.8rem, 13vw, 6.75rem); }
  .hero-rail { gap: 0 .5rem; padding-block: .25rem .5rem; }
  .hero-views { gap: 0; }
  .hero-views button { padding-inline: .38rem; }
  .hero-views .hero-playback { padding-left: .55rem; }
  .hero-explore { gap: 0 1rem; }
  .overview-intro { grid-template-columns: 1fr; }
  .overview-facts { gap: .8rem; margin-top: 1.7rem; }
  .overview-facts dt { font-size: .73rem; }
  .gallery-spaces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-spaces .gallery-tile:last-child { grid-column: 1 / -1; }
  .gallery-spaces .gallery-tile:last-child img { aspect-ratio: 2.6; }
  .studio-plan { grid-template-columns: minmax(0, 1fr); }
  .studio-plan h3 { text-wrap: wrap; }
  .plan-map { justify-self: center; }
  .section-head, .condo-intro, .owner-inner, .footer-inner, .inventory-empty { align-items: start; flex-direction: column; }
  .footer-credit { justify-content: start; }
  .section-head, .condo-intro { margin-bottom: 1.2rem; }
  .inventory-empty { padding: 1.25rem; }
  .feature-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .85rem; }
  .location, .contact, .faq-inner { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .media-spaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
  .media-spaces button { padding-inline: .22rem; font-size: .75rem; }
}
@media (max-width: 430px) {
  .unit-grid, .form-fields { grid-template-columns: 1fr; }
  .feature-list li { font-size: .88rem; }
  .inventory-empty .button { white-space: normal; }
  .gallery-caption { padding-inline: .45rem; }
  .story-chapters .gallery-caption { gap: .15rem; }
}
@media (max-width: 360px) {
  .story-chapters .gallery-caption > span { display: none; }
  .plan-room { padding-inline: .35rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js-pending .hero-playback[hidden] { display: block !important; visibility: hidden; }
  .hero-copy > :not(h1) { animation: arrival 780ms cubic-bezier(.22,.61,.36,1) both; }
  .hero-title-line > span { animation: title-rise 1120ms 90ms cubic-bezier(.22,.61,.36,1) both; }
  .hero-title-line + .hero-title-line > span { animation-delay: 230ms; }
  .hero-copy .hero-intro { animation-delay: 320ms; }
  .hero-copy .actions { animation-delay: 450ms; }
  .hero-image-stack { animation: facade-reveal 1430ms cubic-bezier(.76,0,.24,1) both; }
  .hero-rail { animation: arrival 620ms 650ms both; }
  .hero-views button { transition: color 240ms ease; }
  .hero-views.is-playing button[aria-pressed="true"]::after { animation: chapter-time 5.8s linear both; }
  .filters::before { transition: transform 310ms cubic-bezier(.22,.61,.36,1); }
  .is-revealed { animation: section-arrival 820ms cubic-bezier(.22,.61,.36,1); }
  .neighborhood-card.is-revealed { animation-delay: 100ms; animation-fill-mode: backwards; }
  .masked-title.is-revealed, .story-chapter.is-revealed { animation: none; }
  .masked-title.is-revealed span { animation: gallery-reveal 920ms cubic-bezier(.22,.61,.36,1) backwards; }
  .masked-title.is-revealed span + span { animation-delay: 130ms; }
  .story-enhanced .story-chapter.is-revealed h3 { animation: gallery-reveal 820ms cubic-bezier(.22,.61,.36,1) backwards; }
  .unit-enter { animation: arrival 420ms var(--unit-delay, 0ms) cubic-bezier(.22,.61,.36,1) backwards; }
  .unit-card { transition: transform 220ms ease, box-shadow 220ms ease; }
  dialog[open] { animation: media-open 300ms cubic-bezier(.22,.61,.36,1); }
  dialog[open]::backdrop { animation: backdrop-open 260ms ease-out; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .unit-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px #11192620; }
  .gallery-tile img { transition: scale 520ms cubic-bezier(.22,.61,.36,1); }
  .gallery-tile:hover img { scale: 1.045; }
}
@keyframes arrival {
  from { opacity: .15; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes title-rise {
  from { translate: 0 110%; }
  to { translate: 0 0; }
}
@keyframes chapter-time { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes facade-reveal {
  from { clip-path: inset(0 0 0 100%); scale: 1.12; }
  to { clip-path: inset(0); scale: 1; }
}
@keyframes section-arrival {
  from { opacity: .18; translate: 0 42px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes gallery-reveal {
  from { clip-path: inset(0 0 27%); opacity: .15; translate: 0 28px; }
  to { clip-path: inset(0); opacity: 1; translate: 0 0; }
}
@keyframes media-open {
  from { opacity: .3; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes backdrop-open { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
