:root {
  --brown: #cda687;
  --blue: #183449;
  --white: #f7f3ec;
  --blue-soft: rgba(24, 52, 73, 0.55);
  --gradient: linear-gradient(180.31deg, #183449eb 10.6%, rgba(24, 52, 73, 0) 107.37%);
  --font-display: "Cinzel", serif;
  --font-body: "Outfit", sans-serif;
  --container: min(1680px, calc(100% - 2.5rem));
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--white);
  background: var(--blue);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 4.75rem;
  background: var(--brown);
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  background: #d9b698;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.btn:active {
  transform: translateY(0);
}

.btn--center {
  display: flex;
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.section-eyebrow {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-eyebrow--dark {
  color: var(--blue);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.55rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.section-title--brown {
  color: var(--brown);
}

.section-title--center {
  text-align: center;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-dark {
  background-color: var(--blue);
  background-image: var(--gradient);
}

.section-texture {
  background-color: var(--blue);
  background-image:
    var(--gradient),
    url("assets/AED%2030%2C000%20EXTRA%20bg.png");
  background-size: 100% 100%, cover;
  background-position: center top, center;
  background-repeat: no-repeat, no-repeat;
}

.section-light {
  background-color: var(--white);
  color: var(--blue);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(205, 166, 135, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(24, 52, 73, 0.04), transparent 45%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgb(24 52 73 / 0%) 0%, rgba(24, 52, 73, 0.1) 40%, rgba(24, 52, 73, 0.85) 100%),
    url("assets/hero-image.png") top / cover no-repeat;
  padding: 0 0 1vh;
}

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(1680px, calc(100% - 2.5rem));
  margin: 1.5rem auto 0;
  padding: 0.5rem 0;
}

.nav-logo {
  display: inline-flex;
}

.logo-img {
  width: clamp(72px, 10vw, 400px);
  height: auto;
  mix-blend-mode: screen;
}

.hero-content {
  width: min(1680px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.5vw, 7.2rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--white);
  text-transform: uppercase;
  animation: fadeUp 1s var(--ease) both;
}

.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--blue));
  pointer-events: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Offer ---------- */
.offer-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.offer-amount {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 6rem);
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
}

.offer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.88);
  max-width: 44ch;
  justify-self: end;
}

.offer-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.offer-card {
  position: relative;
  background: var(--blue-soft);
  border: none;
  border-radius: var(--radius);
  padding: 2rem 1.1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  min-height: 160px;
  backdrop-filter: blur(4px);
  transition: transform 0.3s var(--ease);
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 65%) 0%,
    rgb(255 255 255 / 40%) 32%,
    rgb(255 255 255 / 12%) 62%,
    rgb(255 255 255 / 5%) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-4px);
}

.offer-card-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2.9rem);
  color: var(--brown);
  letter-spacing: 0.04em;
  line-height: 1.15;
  font-weight: 600;
}

.offer-card-label {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.45;
}

.offer-cta-block {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.offer-valid {
  font-size: 1.2rem;
  margin-bottom: 4rem;
}

.offer-valid strong {
  font-weight: 500;
}

.offer-support {
  font-size: 1.2rem;
  color: rgba(247, 243, 236, 0.85);
  margin-bottom: 1.75rem;
  line-height: 1.65;
  font-weight: 500;
}

/* ---------- Gallery Slider ---------- */
.gallery-slider {
  --gallery-gap: 1.25rem;
  --gallery-pad: max(1.25rem, calc((100vw - min(1680px, 100vw - 2.5rem)) / 2));
  background-color: #183449;
  background-image: none;
  overflow: hidden;
}

.gallery-slider--nobg {
  background-color: transparent;
  background-image: none;
}

.gallery-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.gallery-viewport.is-dragging {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  gap: var(--gallery-gap);
  width: max-content;
  will-change: transform;
}

.gallery-slide {
  /* 100% of slide 1 + gap + 30% of slide 2 visible */
  flex: 0 0 calc((100vw - var(--gallery-gap)) / 1.3);
  margin: 0;
  overflow: hidden;
  line-height: 0;
  height: clamp(280px, 48vw, 620px);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.gallery-slide:hover img {
  transform: scale(1.08);
}

/* ---------- Project ---------- */
.project-section {
  background-color: var(--blue);
  background-image: none;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.project-image {
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.project-image img {
  width: 100%;
  height: clamp(320px, 42vw, 560px);
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.project-image:hover img {
  transform: scale(1.08);
}

.project-copy {
  max-width: 601px;
}

.project-title {
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 3.2vw, 3.4rem);
  line-height: 1.2;
}

.project-desc {
  font-size: 1.3rem;
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.88);
  max-width: 48ch;
}

/* ---------- Design Team ---------- */
#design-team {
  padding-top: 0;
}

#design-team .section-eyebrow {
  text-align: center;
}

#design-team .section-title {
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  position: relative;
  background: #183449CC;
  border: none;
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.35s var(--ease);
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 65%) 0%,
    rgb(255 255 255 / 40%) 32%,
    rgb(255 255 255 / 12%) 62%,
    rgb(255 255 255 / 5%) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-bottom: auto;
  padding-bottom: 10rem;
  mix-blend-mode: screen;
  object-fit: contain;
  object-position: left center;
}

.team-logo--zaha {
  width: min(220px, 100%);
}

.team-logo--hba {
  width: min(140px, 70%);
}

.team-logo--cracknell {
  width: min(200px, 90%);
}

.team-logo--dewan {
  width: min(160px, 85%);
}

.team-role {
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.team-desc {
  font-size: 0.92rem;
  color: rgba(247, 243, 236, 0.9);
  line-height: 1.55;
}

/* ---------- Residences ---------- */
.residences {
  background: var(--white);
}

.residences-hero {
  width: 100%;
  max-height: 78vh;
  overflow: hidden;
}

.residences-hero img {
  width: 100%;
  height: min(78vh, 820px);
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.residences-hero:hover img {
  transform: scale(1.08);
}

.residences-body {
  position: relative;
  padding: 3.5rem 0 5rem;
  background-color: var(--white);
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(205, 166, 135, 0.12), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(24, 52, 73, 0.05), transparent 40%);
}

.residences-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.residences-copy {
  position: relative;
  padding-left: 1.5rem;
}

.residences-heading {
  margin-left: -1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(24, 52, 73, 0.2);
  margin-bottom: 1.25rem;
}

.residences-copy .section-title {
  margin-bottom: 0;
  font-size: 69px;
}

.residences-desc {
  font-size: 1.2rem;
  line-height: 1.3;
  color: black;
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.residences-specs {
  --residences-gutter: max(1.25rem, calc((100vw - min(1680px, 100vw - 2.5rem)) / 2));
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.4vw, 1.6rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: black;
  line-height: 1.7;
}

.residences-specs::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: calc(-1 * (var(--residences-gutter) + 1.5rem));
  width: var(--residences-gutter);
  height: 1px;
  background: rgb(0 0 0);
}

.residences-specs strong {
  font-weight: 600;
}

.residences-layout .section-eyebrow {
  font-size: 1.4em;
}

.residences-inset {
  margin-top: -18%;
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(24, 52, 73, 0.18);
  overflow: hidden;
}

.residences-inset img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  height: 520px;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.residences-inset:hover img {
  transform: scale(1.08);
}

.residences-cta {
  text-align: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 520px;
  margin-inline: auto;
}

.residences-cta p {
  font-size: 1.3rem;
  color: rgb(0 0 0 / 80%);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* ---------- Shared map-bg (Amenities + Location) ---------- */
.map-bg-wrap {
  background-color: var(--white);
  background-image: url("assets/map-bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* ---------- Amenities ---------- */
.amenities-section {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  background: transparent;
}

.amenities-header {
  text-align: center;
  max-width: 100%;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.amenities-header .section-title {
  margin: 0.75rem 0 1.25rem;
  font-size: 62px;
}

.amenities-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgb(0 0 0 / 85%);
  max-width: 52ch;
  margin-inline: auto;
  text-align: center;
  font-weight: 500;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem) 2rem;
  justify-items: center;
  max-width: 1100px;
  margin-inline: auto;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  justify-content: flex-start;
}

.amenity-icon {
  width: 72px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  object-fit: contain;
  margin: 0;
}

.amenity-content {
  min-width: 0;
}

.amenity h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: #000;
  margin-bottom: 1.3rem;
  width: 150px;
}

.amenity p {
  font-size: 1.2rem;
  color: rgb(0 0 0);
  line-height: 1.45;
  margin: 0;
  width: 200px;
}

/* ---------- Location ---------- */
.location-section {
  background: transparent;
  overflow: hidden;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  min-height: clamp(560px, 72vh, 780px);
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(3rem, 7vw, 5.5rem)
    clamp(1.5rem, 3vw, 2.5rem)
    clamp(3rem, 7vw, 5.5rem)
    max(1.25rem, calc((100vw - min(1680px, 100vw - 2.5rem)) / 2));
}

.location-title {
  font-size: 60px;
  line-height: 1.2;
}

.location-desc {
  margin: 1.35rem 0 2.5rem;
  max-width: 40ch;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.65;
}

.travel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2.5rem;
  max-width: 520px;
}

.travel-item {
  margin-bottom: 1.35rem;
}

.travel-time {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.4rem;
  color: #000000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.travel-place {
  font-size: 1.2rem;
  color: rgb(0 0 0);
}

.location-map {
  margin: 0;
  height: 100%;
  min-height: inherit;
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  display: block;
  border-radius: 0;
}

/* ---------- Save Offer ---------- */
.save-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.save-image {
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  margin: 0;
  line-height: 0;
}

.save-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(247, 243, 236, 0.25);
  pointer-events: none;
  z-index: 1;
}

.save-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: bottom;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.save-image:hover img {
  transform: scale(1.08);
}

.save-content {
  position: relative;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(247, 243, 236, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.save-content .section-title {
  margin-bottom: 4rem;
  color: var(--white);
}

.save-title-white {
  color: var(--white);
}

.save-content .btn {
  align-self: flex-start;
  width: fit-content;
  padding-inline: 2.25rem;
}

.save-offers {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.save-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  color: var(--brown);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.save-label {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

.save-valid,
.save-note {
  font-size: 1.2rem;
  color: rgba(247, 243, 236, 0.85);
  margin-bottom: 1.85rem;
  font-weight: 500;
}

#save-offer {
  background-image: none;
}

/* ---------- Full bleed ---------- */
.full-bleed {
  line-height: 0;
  background: var(--blue);
  overflow: hidden;
}

.full-bleed img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.full-bleed:hover img {
  transform: scale(1.08);
}

/* ---------- Form ---------- */
.form-section {
  text-align: center;
  background-color: var(--white);
  background-image: url("assets/map-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.form-wrap {
  max-width: 880px;
}

.form-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.form-intro {
  margin: 1.25rem auto 3rem;
  max-width: 42ch;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.7;
}

.interest-form {
  text-align: left;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 3rem;
  margin-bottom: 2rem;
}

.field {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(205, 166, 135, 0.7);
  padding-bottom: 0.35rem;
}

.field input {
  background: transparent;
  border: none;
  padding: 0.55rem 0;
  color: #000;
  outline: none;
  font-size: 1rem;
  width: 100%;
}

.field input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.field input:focus {
  outline: none;
}

.field:focus-within {
  border-bottom-color: var(--brown);
}

.field input.invalid,
.field--phone:has(input.invalid) {
  border-bottom-color: #b4533a;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.phone-code {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.phone-flag {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: 1px;
  overflow: hidden;
  flex-shrink: 0;
}

.phone-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.55);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  font-size: 0.92rem;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  line-height: 1.5;
}

.consent input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  flex-shrink: 0;
  border: 1.5px solid var(--brown);
  background: var(--brown);
  position: relative;
  cursor: pointer;
}

.consent input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.form-success {
  text-align: center;
  margin-top: 1.25rem;
  color: var(--blue);
  font-size: 0.95rem;
}

/* ---------- Pitch modal ---------- */
.pitch-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.pitch-modal[hidden] {
  display: none;
}

.pitch-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 52, 73, 0.72);
  backdrop-filter: blur(4px);
}

.pitch-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background-color: var(--white);
  background-image: url("assets/map-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.pitch-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #000;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.pitch-modal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--brown);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pitch-modal__intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.8);
  max-width: 46ch;
  margin: 0 auto 2.25rem;
}

.pitch-modal__intro--alt {
  display: none;
}

.pitch-form {
  text-align: left;
}

.pitch-form .btn--center {
  margin-top: 0.25rem;
}

body.pitch-modal-open {
  overflow: hidden;
}

/* ---------- Thank you page ---------- */
.thank-you-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--blue);
  background-image:
    linear-gradient(180deg, rgba(24, 52, 73, 0.15) 0%, rgba(24, 52, 73, 0.55) 100%),
    url("assets/AED%2030%2C000%20EXTRA%20bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.thank-you {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem 2rem;
  max-width: 920px;
  margin-inline: auto;
  width: 100%;
}

.thank-you__logo {
  display: inline-flex;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.thank-you__logo .logo-img {
  width: clamp(140px, 18vw, 220px);
}

.thank-you__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--brown);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.thank-you__br-mobile {
  display: none;
}

.thank-you__copy {
  max-width: 52ch;
  margin: 0 auto 2.5rem;
}

.thank-you__copy p {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.9);
  margin-bottom: 1rem;
}

.thank-you__copy p:last-child {
  margin-bottom: 0;
}

.thank-you__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  justify-content: center;
  align-items: center;
}

.btn--ghost {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--brown);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(205, 166, 135, 0.12);
  color: var(--brown);
  box-shadow: none;
}

.thank-you__btn {
  min-width: min(280px, 100%);
  padding-inline: 1.75rem;
}

.thank-you__footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
}

.thank-you__footer p {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.85);
  font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--blue);
  background-image:
    var(--gradient),
    url("assets/AED%2030%2C000%20EXTRA%20bg.png");
  background-size: 100% 100%, cover;
  background-position: center top, center;
  background-repeat: no-repeat, no-repeat;
  text-align: center;
  padding: 4.5rem 1.5rem 2.5rem;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.footer-logo .logo-img {
  width: 300px;
}

.footer-copy {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: rgb(255 255 255);
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .offer-intro,
  .offer-cards,
  .team-grid,
  .project-grid,
  .residences-layout,
  .location-grid,
  .save-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-desc {
    justify-self: start;
    max-width: none;
  }

  .offer-cards {
    grid-template-columns: 1fr 1fr;
  }

  /* Gallery: full-width slides, swipe for next */
  .gallery-slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: clamp(240px, 62vw, 420px);
  }

  .gallery-track {
    gap: 0;
  }

  .gallery-viewport {
    overflow: hidden;
  }

  /* Project: content first on mobile */
  .project-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .project-copy {
    order: -1;
  }

  .project-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .project-image img {
    height: clamp(260px, 58vw, 420px);
  }

  /* Residences: stacked mobile layout */
  .residences-layout {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    text-align: center;
  }

  .residences-copy {
    display: contents;
    padding-left: 0;
  }

  .residences-heading {
    order: 1;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-bottom: 0;
  }

  .residences-layout .section-eyebrow {
    font-size: 1em;
  }

  .residences-copy .section-title {
    margin-bottom: 0;
    font-size: 32px;
  }

  .residences-desc {
    order: 2;
    margin-inline: auto;
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  .residences-inset {
    order: 3;
    margin-top: 0;
  }

  .residences-inset img {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 480px;
  }

  .residences-hero img {
    width: 100%;
    height: min(38vh, 820px);
    object-fit: cover;
    object-position: center 40%;
    transition: transform 0.7s var(--ease);
    will-change: transform;
  }

  .residences-specs {
    order: 4;
    text-align: left;
    font-size: clamp(0.8rem, 3.5vw, 1rem);
  }

  .residences-specs::before {
    left: 0;
    width: max(1rem, calc((100vw - min(1680px, 100vw - 2.5rem)) / 2));
  }

  .residences-cta p {
    font-size: 0.8rem;
    color: rgb(0 0 0 / 80%);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
  }

  /* Amenities */
  .amenities-header .section-title {
    margin: 0.75rem 0 1.25rem;
    font-size: 32px;
  }

  .amenities-intro {
    font-size: 0.8rem;
    line-height: 1.65;
    color: rgb(0 0 0 / 85%);
    max-width: 52ch;
    margin-inline: auto;
    text-align: center;
    font-weight: 500;
  }

  .amenity {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }

  .amenity-icon {
    width: 52px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    object-fit: contain;
    margin: 0;
  }

  .amenity-content {
    text-align: center;
  }

  .amenity h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    color: #000;
    margin-bottom: 1.3rem;
    width: 150px;
    margin-inline: auto;
  }

  .amenity p {
    font-size: 0.6rem;
    color: rgb(0 0 0);
    line-height: 1.45;
    margin: 0 auto;
    width: 200px;
  }

  /* Location: map first, travel stays 2-col */
  .location-grid {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .location-map {
    order: -1;
    min-height: 320px;
    width: 100%;
  }

  .location-copy {
    padding: 2.5rem 1.25rem 2rem;
  }

  .location-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .location-desc {
    margin: 1rem 0 2rem;
    max-width: none;
    font-size: 0.95rem;
  }

  .travel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1.5rem;
    max-width: none;
  }

  .travel-time {
    font-size: 1rem;
  }

  .travel-place {
    font-size: 0.9rem;
  }

  .save-content {
    border-left: none;
    padding-left: 0;
    padding-top: 0.5rem;
  }

  .save-image::after {
    display: none;
  }

  .save-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.4vw, 2.4rem);
    color: var(--brown);
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    font-weight: 600;
  }

  .save-label {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 400;
  }

  .save-valid,
  .save-note {
    font-size: 0.8rem;
    color: rgba(247, 243, 236, 0.85);
    margin-bottom: 1.85rem;
    font-weight: 400;
  }

  .pitch-modal {
    padding: 1rem;
    align-items: center;
  }

  .pitch-modal__dialog {
    width: min(420px, 100%);
    border-radius: 18px;
    padding: 2.25rem 1.35rem 1.75rem;
  }

  .pitch-modal__title {
    font-size: 1.45rem;
  }

  .pitch-modal__intro {
    display: none;
  }

  .pitch-modal__intro--alt {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
  }

  .pitch-form .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pitch-form .consent {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .nav {
    width: calc(100% - 1.5rem);
    margin-top: 1rem;
  }

  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 60dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
      linear-gradient(180deg, rgb(24 52 73 / 0%) 0%, rgba(24, 52, 73, 0.1) 40%, rgba(24, 52, 73, 0.85) 100%),
      url("assets/hero-image.png") top / cover no-repeat;
    padding: 0 0 1vh;
  }

  .hero-content {
    width: calc(100% - 1.5rem);
  }

  .offer-card-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.2vw, 2.9rem);
    color: var(--brown);
    letter-spacing: 0.04em;
    line-height: 1.15;
    font-weight: 600;
  }

  .offer-cards {
    grid-template-columns: 1fr;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem 1rem;
  }

  .form-grid {
    gap: 1.4rem;
  }

  .btn {
    width: auto;
    text-align: center;
  }

  .footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 5rem;
  }

  .footer-logo .logo-img {
    width: 200px;
  }

  .gallery-slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: clamp(220px, 68vw, 360px);
  }

  .thank-you {
    padding: 3rem 1.25rem 2rem;
    justify-content: flex-start;
    padding-top: 12vh;
  }

  .thank-you__logo .logo-img {
    width: 160px;
  }

  .thank-you__title {
    font-size: 1.7rem;
  }

  .thank-you__br-mobile {
    display: block;
  }

  .thank-you__copy {
    margin-bottom: 2rem;
  }

  .thank-you__copy p {
    font-size: 0.9rem;
  }

  .thank-you__actions {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
  }

  .thank-you__btn {
    width: 100%;
    min-width: 0;
  }

  .thank-you__footer p {
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
