:root {
  --paper: #ffffff;
  --off-white: #f4f4f1;
  --ink: #17303c;
  --muted: #718089;
  --line: #dfe4e5;
  --dark: #103242;
  --warm: #eee7dc;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.menu-open { overflow: hidden; }

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

/* Interface icons */
.arrow-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: currentColor;
  vertical-align: -.18em;
}

.arrow-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta .arrow-icon {
  width: 16px;
  height: 16px;
  margin-left: 9px;
}

.hero-btn .arrow-icon,
.final-btn .arrow-icon {
  width: 18px;
  height: 18px;
}

.coast-link .arrow-icon {
  width: 17px;
  height: 17px;
}

.hero-explore .arrow-icon {
  width: 14px;
  height: 14px;
  margin-left: 13px;
}


::selection {
  background: var(--dark);
  color: #fff;
}

.content-shell {
  width: min(1440px, calc(100% - 12vw));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 16px 5vw;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border-bottom: 1px solid rgba(23,48,60,.08);
  backdrop-filter: blur(12px);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(15,40,50,.05);
}

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  line-height: .84;
}

.brand-main {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.055em;
}

.brand-sub {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .3em;
}

.nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
}

.nav a,
.header-cta {
  position: relative;
  opacity: .88;
}

.nav a::after,
.header-cta::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease);
}

.nav a:hover::after,
.header-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  font-size: 14px;
  font-weight: 400;
}

.header-cta::after { transform: scaleX(1); }

.header-cta span { margin-left: 10px; }

.menu-toggle {
  display: none;
  justify-self: end;
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  position: absolute;
  left: 6px;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: .25s ease;
}

.menu-toggle span:first-child { top: 13px; }
.menu-toggle span:last-child { top: 22px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 70;
  inset: 96px 0 0;
  display: none;
  padding: 42px 22px;
  background: #fff;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu a {
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.mobile-menu a:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu a:last-child .arrow-icon {
  width: 24px;
  height: 24px;
}


/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 96px);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: #17313d;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,30,39,.63) 0%, rgba(7,30,39,.17) 58%, rgba(7,30,39,.04) 100%),
    linear-gradient(180deg, rgba(5,22,29,.11) 0%, rgba(5,22,29,.06) 48%, rgba(5,22,29,.30) 100%);
}

.hero-topline {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 5vw;
  left: 5vw;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .92;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 10vw);
  margin: 0 auto;
  padding-bottom: 3vh;
}

.hero-project {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 6.2vw, 92px);
  font-weight: 400;
  line-height: .90;
  letter-spacing: -.055em;
}

.hero h1 em,
.intro h2 em,
.apartments h2 em,
.coast h2 em,
.final-cta h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-copy {
  margin: 34px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 280px;
  margin-top: 28px;
  padding: 17px 24px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transition: transform .3s var(--ease), background .25s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  background: #f5f5f1;
}

.hero-explore,
.hero-location {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  margin: 0;
  font-size: 11px;
  letter-spacing: .08em;
}

.hero-explore { left: 5vw; }
.hero-explore span { margin-left: 14px; }

.hero-location {
  right: 5vw;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Shared section details */
.section-index {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.light-index {
  color: rgba(255,255,255,.72);
}

/* Residence */
.intro {
  padding: 88px 0 100px;
  background: #fff;
}

.intro .content-shell {
  display: grid;
  grid-template-columns: 28% minmax(0, 1fr);
  gap: 5%;
}

.intro .section-index { padding-top: 8px; }

.intro-layout {
  min-width: 0;
}

.intro-heading h2 {
  margin: 0;
    font-size: clamp(42px, 4.1vw, 60px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.052em;
}

.intro-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-content: start;
  padding-top: 30px;
  color: #62717a;
  font-size: 16px;
  line-height: 1.7;
}

.intro-text p {
  margin: 0;
}

.stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 24px 0 0;
}

.stats strong {
  color: var(--ink);
  font-size: 28px;
  font-weight: 400;
}

.stats span {
  font-size: 12px;
}

/* Apartments */
.apartments {
  padding: 82px 0 88px;
  background: #f4f5f2;
}

.apartments-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin: 25px 0 38px;
}

.apartments-head h2 {
  margin: 0;
  font-size: clamp(42px, 4.3vw, 62px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.052em;
}

.apartments-head p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.apartments-toolbar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  border-top: 1px solid #d7dddf;
  border-bottom: 1px solid #d7dddf;
}

.filters {
  display: flex;
  align-items: center;
  gap: 3px;
}

.filter {
  min-width: 70px;
  min-height: 40px;
  border: 0;
  background: transparent;
  padding: 7px 12px;
  color: var(--ink);
  font-size: 13px;
  transition: background .24s ease, color .24s ease;
}

.filter:hover { background: rgba(16,50,66,.06); }

.filter.active {
  background: var(--dark);
  color: #fff;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.floor-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 13px;
}

.floor-filter select {
  min-height: 30px;
  border: 0;
  background: transparent;
  padding: 0 22px 0 0;
  font-size: 13px;
}

.unit-count {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}

.unit-card {
  min-height: 600px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #dfe4e5;
  background: #fff;
  color: var(--ink);
  outline: none;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .72s var(--ease) calc(var(--card-index) * 65ms),
    transform .72s var(--ease) calc(var(--card-index) * 65ms),
    box-shadow .36s var(--ease),
    border-color .3s ease;
}

.unit-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.unit-card.in-view:hover {
  transform: translateY(-4px);
  border-color: #cfd8dc;
  box-shadow: 0 16px 38px rgba(18,49,62,.07);
}

.unit-card:focus-visible {
  box-shadow: 0 0 0 2px var(--dark);
}

.unit-card-media {
  position: relative;
  height: 375px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 42px 24px 10px;
  background: #fff;
}

.unit-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 14px;
  padding: 5px 8px;
  background: #f0f3f3;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.unit-badge-status {
  background: var(--warm);
  color: #785f44;
}

.unit-image {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.unit-card-image {
  position: absolute;
  top: 42px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 52px);
  max-width: none;
  max-height: none;
  object-position: center;
  background: #fff;
  filter: brightness(1.065) saturate(.93) contrast(1.01);
  transform: scale(.98);
  transition: transform .45s var(--ease);
}

.unit-card:hover .unit-card-image {
  transform: scale(1.03);
}

.unit-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 20px;
  background: #fff;
}

.unit-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.unit-title-row h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.unit-type-chip {
  display: grid;
  min-width: 26px;
  height: 23px;
  place-items: center;
  border: 1px solid #d9e0e2;
  font-size: 11px;
}

.unit-subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.unit-meta-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 17px 0 13px;
  color: var(--muted);
  font-size: 12px;
}

.unit-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.unit-meta-item svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.unit-area-strip {
  display: none;
}

.unit-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid #e0e5e6;
}

.unit-card-footer .unit-price {
  font-size: 15px;
}

.unit-arrow {
  display: inline-flex;
  flex-shrink: 0;
  font-size: 17px;
  transition: transform .28s var(--ease);
}

.unit-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.unit-card:hover .unit-arrow {
  transform: translate(2px,-2px);
}

.apartments-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
}

/* Baleal split section */
.coast {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--dark);
}

.coast-media {
  min-height: 720px;
  background: url("assets/geral/Armeria_Montage.webp") center 95% / cover no-repeat;
  transform: scale(1.04);
  transform-origin: center;
  will-change: transform;
}

.coast-panel {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  padding: 52px 7vw 50px 7vw;
  background: var(--dark);
  color: #fff;
}

.coast-copy {
  margin-block: auto;
}

.coast h2 {
  margin: 0 0 32px;
  font-size: clamp(46px, 4.3vw, 62px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.052em;
}

.coast-copy p {
  max-width: 470px;
  margin: 0 0 15px;
  color: rgba(255,255,255,.74);
  font-size: 15px;
  line-height: 1.7;
}

.coast-link {
  display: flex;
  max-width: 460px;
  justify-content: space-between;
  margin-top: 28px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-size: 13px;
}

/* Final CTA */
.final-cta {
  min-height: 325px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 75px 6vw;
  text-align: center;
  background: #fff;
}

.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .2em;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(58px, 5.5vw, 82px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.055em;
}

.final-btn {
  display: inline-flex;
  min-width: 240px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  transition: transform .28s var(--ease);
}

.final-btn:hover { transform: translateY(-2px); }

/* Footer */
footer {
  padding: 38px 5vw 20px;
  border-top: 1px solid #e2e6e7;
  background: #fff;
  color: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 35px;
  align-items: start;
}

.footer-brand .brand-main { font-size: 28px; }

.footer-project {
  display: grid;
  gap: 3px;
  font-size: 11px;
}

.footer-project span { color: var(--muted); }

.footer-project strong {
  font-size: 11px;
  letter-spacing: .08em;
}

footer nav {
  display: flex;
  gap: 24px;
  font-size: 11px;
}

.footer-bottom {
  margin-top: 42px;
  color: var(--muted);
  font-size: 10px;
}

/* Apartment popup */
.unit-dialog {
  width: min(960px, calc(100vw - 40px));
  max-height: min(88vh, 860px);
  overflow: auto;
  border: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 34px 110px rgba(5,20,31,.28);
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .22s ease, transform .32s var(--ease);
}

.unit-dialog::backdrop {
  background: rgba(31,55,72,0);
  backdrop-filter: blur(0);
  transition: background .25s ease, backdrop-filter .25s ease;
}

.unit-dialog.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.unit-dialog.is-visible::backdrop {
  background: rgba(31,55,72,.86);
  backdrop-filter: blur(7px);
}

.unit-dialog.is-closing {
  opacity: 0;
  transform: translateY(12px) scale(.99);
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  font-size: 24px;
}

.dialog-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 650px;
}

.dialog-visual {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  background: var(--plan-bg, #f9f3ee);
}

.dialog-plan-stage {
  flex: 1;
  min-height: 530px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px 30px 15px;
  background: var(--plan-bg, #f9f3ee);
}

.dialog-main-image {
  width: 110%;
  height: auto;
  max-width: 550px;
  max-height: 500px;
  object-fit: contain;
  background: transparent;
  filter: none !important;
  opacity: 1;
  transform: scale(1);
  transition: opacity .16s ease, transform .25s var(--ease);
}

.dialog-main-image.is-changing {
  opacity: 0;
  transform: scale(.975);
}

.plan-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 22px 22px;
}

.plan-tab {
  min-height: 30px;
  border: 1px solid #d8dfe1;
  background: transparent;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 9px;
}

.plan-tab.active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 34px 44px;
  background: #fff;
  border-left: 1px solid #edf0f1;
}

.dialog-kicker {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
}

.dialog-copy h3 {
  margin: 0;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.dialog-type-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.dialog-price {
  margin-top: 28px;
  font-size: 24px;
  font-weight: 700;
}

.dialog-specs {
  margin-top: 26px;
  border-bottom: 1px solid #d9e0e2;
}

.dialog-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 10px 0;
  border-top: 1px solid #d9e0e2;
  color: #435964;
  font-size: 11px;
}

.dialog-spec-row strong { font-weight: 400; }

.dialog-spec-total {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.dialog-spec-total strong { font-weight: 700; }

.dialog-contact,
.dialog-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.dialog-contact { margin: 24px 0 0; }
.dialog-note { margin: 24px 0 0; }

.unit-gallery {
  padding: 28px 32px 34px;
  border-top: 1px solid #dce2e3;
  background: #f7f8f6;
}

.unit-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 9px;
}

.unit-gallery-head > div {
  display: grid;
  gap: 3px;
}

.unit-gallery-head strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}

.unit-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 7px;
}

.gallery-thumb {
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #e7e8e4;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

.gallery-thumb:hover img { transform: scale(1.04); }

/* Motion */
.hero-video {
  animation: heroVideoIn 1.7s ease-out both;
}

.hero-topline,
.hero-content > *,
.hero-explore,
.hero-location {
  animation: heroCopyIn .82s var(--ease) both;
}

.hero-topline { animation-delay: .08s; }
.hero-content > :nth-child(1) { animation-delay: .14s; }
.hero-content > :nth-child(2) { animation-delay: .22s; }
.hero-content > :nth-child(3) { animation-delay: .32s; }
.hero-content > :nth-child(4) { animation-delay: .42s; }
.hero-explore { animation-delay: .5s; }
.hero-location { animation-delay: .55s; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .78s var(--ease) var(--reveal-delay,0ms),
    transform .78s var(--ease) var(--reveal-delay,0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.is-visible .dialog-plan-stage {
  animation: dialogVisualIn .48s .04s var(--ease) both;
}

.is-visible .dialog-copy > * {
  animation: dialogCopyIn .45s var(--ease) both;
}

@keyframes heroVideoIn {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dialogVisualIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes dialogCopyIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1000px) {
  .site-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle { display: block; }
  .mobile-menu { display: block; inset: 72px 0 0; }

  .content-shell {
    width: calc(100% - 44px);
  }

  .hero-topline {
    right: 22px;
    left: 22px;
  }

  .hero-content {
    width: calc(100% - 44px);
  }

  .hero { min-height: calc(100svh - 72px); }

  .brand-main { font-size: 25px; }
  .brand-sub { font-size: 7px; }

  .hero-explore { left: 22px; }
  .hero-location { right: 22px; }

  .intro .content-shell { grid-template-columns: 1fr; gap: 36px; }

  .intro-text {
    max-width: 760px;
  }

  .units-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .unit-card-media { height: 280px; }
  .unit-card { min-height: 500px; }

  .coast {
    grid-template-columns: 1fr;
  }

  .coast-media,
  .coast-panel {
    min-height: 520px;
  }

  .coast-panel {
    padding: 54px 22px 50px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-project {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header { min-height: 64px; }

  .mobile-menu { inset: 64px 0 0; }

  .hero {
    min-height: calc(92svh - 64px);
  }

  .hero-topline {
    top: 18px;
    font-size: 7px;
  }

  .hero-topline span:last-child { display: none; }

  .hero h1 {
    max-width: 540px;
    font-size: clamp(52px, 14vw, 78px);
  }

  .hero-copy { font-size: 12px; }

  .hero-btn .arrow-icon {
    width: 17px;
    height: 17px;
  }

  .mobile-menu a:last-child .arrow-icon {
    width: 22px;
    height: 22px;
  }

  .hero-location { display: none; }

  .intro {
    padding: 72px 0 78px;
  }

  .intro .content-shell { gap: 34px; }

  .intro-heading h2,
  .apartments-head h2,
  .coast h2 {
    font-size: 46px;
  }

  .intro-text {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stats {
    margin-top: 8px;
  }

  .apartments {
    padding: 70px 0 76px;
  }

  .apartments-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .apartments-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 11px 0;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(4,1fr);
  }

  .toolbar-right {
    justify-content: space-between;
  }

  .units-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .unit-card {
    min-height: 0;
  }

  .unit-card-media {
    height: clamp(240px, 64vw, 320px);
    flex-shrink: 0;
  }

  .unit-card-body { padding: 18px; }
  .unit-card-footer { margin-top: 8px; }
  .unit-title-row h3 { font-size: 19px; }

  .coast-media {
    min-height: 440px;
  }

  .coast-panel {
    min-height: 500px;
  }

  .final-cta {
    min-height: 390px;
  }

  .final-cta h2 { font-size: 62px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  footer nav {
    flex-wrap: wrap;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .dialog-visual {
    min-height: 390px;
  }

  .dialog-plan-stage {
    min-height: 315px;
    padding: 40px 18px 10px;
  }

  .dialog-main-image {
    max-height: 315px;
  }

  .dialog-copy {
    padding: 38px 24px 42px;
    border-top: 1px solid #edf0f1;
    border-left: 0;
  }

  .unit-gallery-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 440px) {
  .content-shell {
    width: calc(100% - 30px);
  }

  .hero-content {
    width: calc(100% - 30px);
  }

  .hero-topline {
    left: 15px;
    right: 15px;
  }

  .hero-explore { left: 15px; }

  .hero h1 {
    font-size: 49px;
  }

  .hero-btn {
    min-width: 205px;
  }

  .stats strong { font-size: 18px; }

  .coast-media { min-height: 360px; }

  .coast-panel {
    min-height: 450px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .final-cta h2 { font-size: 54px; }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .unit-card { opacity: 1; transform: none; }
}
