@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pine: #172f29;
  --pine-deep: #112520;
  --text: #27372f;
  --muted: #506056;
  --paper: #f8f6ef;
  --sand: #eee9dc;
  --cream: #fff9ef;
  --sun: #e8be90;
  --rule: #d6cfc1;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.25vw, 5.25rem);
  --header: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
}
body:has(dialog[open]) { overflow: hidden; }
p, h1, h2, h3, ul, dl, dd, figure { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
main, section[id] { scroll-margin-top: calc(var(--header) + .4rem); }

.wrap {
  width: min(100% - 2 * var(--gutter), 79rem);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 6;
  top: .7rem;
  left: .7rem;
  padding: .65rem 1rem;
  color: var(--pine);
  background: var(--cream);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.masthead {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--pine);
  color: var(--cream);
  border-bottom: 1px solid #fff2;
}
.masthead-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(.65rem, 1.2vw, .95rem);
  justify-self: start;
  width: fit-content;
  text-decoration: none;
}
.brand::before {
  content: "";
  order: 1;
  width: 1px;
  height: 1.75rem;
  background: #fff4;
}
.brand-link { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; }
.brand-jr { width: auto; height: 2.4rem; }
.brand-novus { order: 2; width: auto; height: 3.25rem; }
.main-nav { display: flex; gap: clamp(1.15rem, 2.7vw, 3.25rem); }
.main-nav a {
  font-size: .89rem;
  font-weight: 500;
  text-decoration: none;
  color: #f1eee4;
}
.main-nav a:hover, .mobile-menu a:hover { text-decoration: underline; text-underline-offset: .3em; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  min-height: 3.15rem;
  gap: .65rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  text-align: center;
  font: 600 .9rem/1.23 var(--sans);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button--nav {
  min-height: 2.5rem;
  justify-self: end;
  border-color: #fff7;
}
.button--nav:hover, .button--glass:hover { background-color: #fff2; border-color: var(--cream); }
.button--light { color: var(--pine); background: var(--cream); }
.button--light:hover { background: #e8c399; }
.button--glass { border-color: #fff9; color: var(--cream); background: #12241c20; }
.button--pine { background: var(--pine); color: var(--cream); }
.button--pine:hover { background: #26463a; }
.button--outline { border-color: #a59d8f; color: var(--pine); background: transparent; }
.button--outline:hover { background: var(--sand); border-color: var(--pine); }
.play-glyph {
  height: 0;
  width: 0;
  border-top: .34rem solid transparent;
  border-bottom: .34rem solid transparent;
  border-left: .55rem solid currentColor;
}
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }

.eyebrow {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.4;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(3rem, 5.3vw, 5.6rem); line-height: .92; letter-spacing: -.025em; }
h2 em { font-weight: 400; }
h3 { font-size: clamp(2.45rem, 4.1vw, 4.4rem); line-height: .98; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(35rem, 72svh, 52rem);
  display: grid;
  align-items: end;
  background: #434c37;
  color: var(--cream);
}
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: center 53%; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #0d211de0, #10251d85 42%, #10251d16 78%),
    linear-gradient(0deg, #0e211d94, transparent 55%);
}
.hero-inner { padding-block: 6rem clamp(4.35rem, 10vh, 7.7rem); }
.hero-location { color: var(--sun); margin-bottom: 1.2rem; }
.hero h1 {
  font-size: clamp(5.7rem, 11.7vw, 12.5rem);
  letter-spacing: -.045em;
  line-height: .76;
  width: fit-content;
}
.hero-period { color: var(--sun); }
.hero h1 em {
  display: inline-block;
  margin-top: .2em;
  color: #ffdfb7;
  font-size: .51em;
  letter-spacing: -.022em;
  line-height: .9;
}
.hero-deck {
  max-width: 26rem;
  margin: 1.55rem 0 1.7rem;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  color: #fff8ed;
  line-height: 1.52;
}
.facts { background: var(--sand); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts-grid > div { padding: 1.25rem .75rem 1.4rem; text-align: center; }
.facts-grid > div + div { border-left: 1px solid var(--rule); }
.facts dt { color: var(--pine); font: 400 clamp(2rem, 4vw, 3.4rem)/1 var(--serif); }
.facts dd { color: var(--muted); font-size: .91rem; line-height: 1.4; margin-top: .36rem; }

.section { padding-block: clamp(3.9rem, 8.2vw, 8.1rem); }
.split { display: grid; align-items: center; gap: clamp(2.25rem, 6vw, 6.2rem); }
.golf-story { background: var(--sand); }
.golf-story-copy, .golf-nearby {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.3rem, 4.4vw, 4rem);
  padding: clamp(1.6rem, 3.5vw, 3.65rem);
}
.golf-story-copy .eyebrow { margin-bottom: .7rem; }
.golf-story-copy h2 { font-size: clamp(2.55rem, 4.1vw, 4.25rem); line-height: .98; }
.golf-story-copy p + p { margin-top: .85rem; }
.golf-nearby {
  grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr);
  border-top: 1px solid #cfc7b8;
}
.golf-nearby h3 { font-size: clamp(2.2rem, 3.65vw, 3.45rem); }
.golf-nearby p { margin-top: .7rem; max-width: 26rem; }
.golf-courses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.35rem;
  list-style: none;
  padding: 0;
}
.golf-courses li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .65rem;
  padding: .55rem 0;
  border-bottom: 1px solid #cfc7b8;
}
.golf-courses span { color: var(--muted); font-size: .84rem; white-space: nowrap; }
.split--somium { grid-template-columns: .89fr 1.11fr; }
.section-copy > .eyebrow { margin-bottom: .95rem; }
.section-copy > :is(.lead, h2 + p) { margin-top: 1.4rem; }
.section-copy > p + p { margin-top: .88rem; }
.section-copy > .text-link, .link-row { margin-top: 1.25rem; }
.lead { font-size: clamp(1.09rem, 1.4vw, 1.22rem); line-height: 1.5; }
.link-row { display: flex; gap: .55rem 1.35rem; flex-wrap: wrap; }
.text-link {
  display: inline-block;
  width: fit-content;
  color: inherit;
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: .005em;
  text-decoration-thickness: 1px;
  text-underline-offset: .36em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.photo img { width: 100%; height: auto; object-fit: cover; }
.golf-photo { background: #7c764f; }
.golf-photo img { width: 100%; height: auto; object-fit: cover; }
.somium-photo img { aspect-ratio: 1.35; }

.section--homes { background: var(--sand); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 24rem);
  gap: 1.2rem 2rem;
  align-items: end;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section-heading .eyebrow { margin-bottom: .65rem; }
.section-heading > div:last-child { max-width: 25rem; }
.section-heading .text-link { margin-top: .5rem; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.55rem, 3.5vw, 3.2rem); }
.home { display: flex; flex-direction: column; }
.home-photo { background: #d8d1c1; }
.home-photo img { width: 100%; height: auto; aspect-ratio: 1.53; object-fit: cover; }
.home-heading { display: flex; align-items: end; gap: .6rem 1rem; justify-content: space-between; margin-top: 1.4rem; flex-wrap: wrap; }
.home-heading h3 { margin-top: .2rem; }
.home-price { white-space: nowrap; color: var(--pine); font: 400 clamp(2rem, 3.65vw, 3.15rem)/1 var(--serif); }
.home-price span { font: 600 .85rem/1.15 var(--sans); }
.home-description { margin-top: .95rem; max-width: 32rem; }
.home-specs {
  display: flex;
  gap: .35rem 1.15rem;
  flex-wrap: wrap;
  padding: .65rem 0;
  font-size: .9rem;
  color: var(--muted);
  font-weight: 600;
  list-style: none;
}
.home-specs li + li::before { content: "·"; margin-right: .9rem; }
.home-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: 1.05rem 0 .75rem;
  margin-top: auto;
  border-top: 1px solid #cfc7b8;
}
.home-bottom p { font-size: .89rem; line-height: 1.5; color: var(--muted); }
.home-bottom p strong { color: var(--text); }
.price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 2rem;
  padding-top: 1.05rem;
  border-top: 1px solid #cfc7b8;
  margin-top: 1.35rem;
  color: var(--muted);
}
.price-note p { max-width: 46rem; font-size: .86rem; line-height: 1.5; }
.property-catalog {
  margin-top: clamp(2.7rem, 5.5vw, 5rem);
  padding-top: clamp(1.6rem, 3.4vw, 2.75rem);
  border-top: 1px solid #cfc7b8;
}
.catalog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.3rem, 3.2vw, 2.25rem);
}
.catalog-header p { margin-top: .55rem; max-width: 36rem; }
.catalog-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #cfc7b8;
  border: 1px solid #cfc7b8;
}
.catalog-tabs a {
  display: grid;
  place-items: center;
  min-height: 3.15rem;
  padding: .65rem .55rem;
  background: var(--paper);
  color: var(--pine);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.catalog-tabs a:hover { background: #e7dfcf; }
.catalog-tabs a[aria-current="true"] { color: var(--cream); background: var(--pine); }
.catalog-tabs a:focus-visible { position: relative; outline-offset: -5px; }
.catalog-group { padding-top: 1.25rem; }
.catalog-group[hidden], .catalog-unit[hidden] { display: none; }
.catalog-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .15rem 1rem;
  margin-bottom: .85rem;
}
.catalog-group-heading h4 { margin: 0; font-size: 1rem; }
.catalog-group-heading p { color: var(--muted); font-size: .86rem; }
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.66fr) minmax(0, .84fr);
  align-items: stretch;
  gap: clamp(1rem, 3vw, 2.4rem);
}
.catalog-map-hint {
  display: none;
  margin-bottom: .35rem;
  color: var(--muted);
  font-size: .8rem;
}
.catalog-map-scroll { overflow-x: auto; background: #e4ddce; }
.catalog-map { position: relative; isolation: isolate; min-width: 31rem; }
.catalog-map img { width: 100%; height: auto; }
.catalog-map--villas { min-width: 0; max-width: 29rem; margin-inline: auto; }
.catalog-area {
  position: absolute;
  left: var(--area-left);
  top: var(--area-top);
  width: var(--area-width);
  height: var(--area-height);
  display: grid;
  place-items: center;
  clip-path: var(--area-outline);
  color: var(--cream);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.45vw, 1.8rem);
  text-decoration: none;
  line-height: 1;
  text-shadow: 0 1px 6px #112520;
}
.catalog-area span { visibility: hidden; pointer-events: none; }
.catalog-area--reserved { background: #b7684e45; }
.catalog-map--villas .catalog-area--reserved { background: #b7684ea6; }
.catalog-area[aria-current="true"] { background: #274b3b6b; }
.catalog-area--reserved[aria-current="true"] { background: #914c3c9e; }
.catalog-area:is(:hover, :focus-visible) { z-index: 1; background: #1d392dd1; }
.catalog-area--reserved:is(:hover, :focus-visible) { background: #7c4234d9; }
.catalog-area:is(:hover, :focus-visible) span { visibility: visible; }
@media (hover: none) {
  .catalog-area[aria-current="true"][data-picked] span { visibility: visible; }
}
.catalog-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.2rem;
  margin-top: .65rem;
  color: var(--muted);
  font-size: .8rem;
}
.catalog-legend span { display: flex; align-items: center; gap: .4rem; }
.catalog-legend span::before {
  content: "";
  width: .72rem;
  height: .72rem;
  border: 1px solid #9a9f91;
  border-radius: 50%;
  background: #65846d;
}
.catalog-legend .catalog-legend-reserved::before { background: #be826c; border-color: #a6715d; }
.catalog-unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
  padding: clamp(1.05rem, 2.6vw, 2rem);
  background: var(--paper);
  border-top: 2px solid var(--pine);
}
.catalog-unit .eyebrow { margin-bottom: .35rem; }
.catalog-unit-price {
  margin-bottom: .6rem;
  color: var(--pine);
  font: 400 clamp(2.25rem, 4.35vw, 3.65rem)/1.06 var(--serif);
}
.catalog-unit dl { width: 100%; margin: .25rem 0 1.15rem; }
.catalog-unit dl > div {
  display: flex;
  justify-content: space-between;
  gap: .25rem .8rem;
  padding-block: .37rem;
  border-top: 1px solid var(--rule);
  font-size: .88rem;
}
.catalog-unit dt { color: var(--muted); }
.catalog-unit dd { font-weight: 600; text-align: right; }
.catalog-reserved { color: #713c30; }
.catalog-prices { margin-top: 1.1rem; border-block: 1px solid #cfc7b8; }
.catalog-prices summary { padding: .7rem .2rem; }
.catalog-prices summary span { color: var(--muted); font-size: .82rem; margin-left: .6rem; }
.catalog-table-wrap { overflow-x: auto; }
.catalog-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; }
.catalog-table :is(th, td) { padding: .57rem clamp(.35rem, 1.5vw, 1rem); border-top: 1px solid var(--rule); }
.catalog-table thead { background: #e4ded0; }
.catalog-table td[data-unit-price] { white-space: nowrap; font-weight: 700; }
.catalog-table tr[data-selected] { background: #e5e8da; }
.catalog-documents {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.3rem;
  margin-top: .85rem;
}
.alert-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem clamp(1.3rem, 5vw, 4rem);
  margin-top: clamp(1.8rem, 4vw, 3rem);
  padding: clamp(1.15rem, 3.5vw, 2.6rem);
  background: var(--paper);
  border-top: 2px solid var(--pine);
}
.alert-signup h4 {
  margin: 0 0 .45rem;
  color: var(--pine);
  font: 400 clamp(2.2rem, 4.05vw, 3.35rem)/1.05 var(--serif);
}
.alert-signup > div p { max-width: 28rem; }
.alert-form label { display: block; margin-bottom: .25rem; font-weight: 650; }
.alert-field { display: flex; flex-wrap: wrap; gap: .5rem; }
.alert-field input {
  flex: 1 1 11rem;
  min-width: 0;
  padding: .7rem .8rem;
  border: 1px solid #a59d8f;
  border-radius: 2px;
  background: #fff;
  color: var(--pine);
  font: inherit;
}
.alert-field input:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
.alert-field button:disabled { opacity: .65; cursor: wait; }
.alert-form #alerts-info, .alert-status { margin-top: .55rem; font-size: .87rem; line-height: 1.5; }
.alert-form #alerts-info { color: var(--muted); }
.alert-status:empty { display: none; }
.alert-status { font-weight: 700; color: var(--pine); }
.alert-status[data-error] { color: #713c30; }
.alert-result { max-width: 42rem; padding-block: clamp(3rem, 9vw, 7rem); }
.alert-result h1 { font-size: clamp(2.65rem, 7vw, 4.25rem); }
.alert-result p, .alert-result form, .alert-result .text-link { margin-top: .9rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.phase-overview {
  display: grid;
  grid-template-columns: minmax(0, .53fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4.8vw, 4.4rem);
  margin-top: clamp(3.25rem, 6.25vw, 6rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid #cfc7b8;
}
.phase-copy > .eyebrow { margin-bottom: .6rem; }
.phase-copy > p:not(.eyebrow) { margin-top: .85rem; }
.phase-order {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  width: min(100%, 18rem);
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}
.phase-order::before {
  content: "";
  position: absolute;
  inset: 1.05rem 10% auto;
  border-top: 1px solid #9a9e8b;
}
.phase-order li, .phase-marker {
  display: grid;
  place-items: center;
  width: 2.1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  font-weight: 700;
  font-size: .9rem;
}
.phase-order li {
  position: relative;
  color: var(--pine);
  background: var(--sand);
  border: 1px solid #78877a;
}
.phase-order li:first-child, .phase-marker--start {
  background: var(--pine);
  color: var(--cream);
}
.phase-map { position: relative; border: 1px solid #d4cbb8; }
.phase-map img { width: 100%; height: auto; }
.phase-marker {
  position: absolute;
  width: clamp(1.35rem, 2.7vw, 2.15rem);
  transform: translate(-50%, -50%);
  border: 2px solid var(--cream);
  box-shadow: 0 1px 5px #172f2948;
}
.phase-marker--start { left: 27.8%; top: 73.8%; }
.phase-marker--end { left: 80.5%; top: 29.7%; color: var(--pine); background: var(--sun); }
.show-home {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.2rem, 4vw, 3.6rem);
  align-items: center;
  margin-top: clamp(3.5rem, 6vw, 6rem);
}
.show-home img { width: 100%; aspect-ratio: 1.85; }
.show-home h3 { margin: .5rem 0 .8rem; }
.show-home p:not(.eyebrow) { max-width: 28rem; }
.show-home .text-link { margin-top: .8rem; }

.murcia { background: var(--pine); color: var(--cream); }
.murcia .eyebrow, .murcia h2 em { color: var(--sun); }
.murcia-layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  grid-template-areas: "copy city" "dish city";
  gap: clamp(1.5rem, 2.65vw, 2.5rem) clamp(2rem, 4vw, 4.25rem);
}
.murcia-layout .section-copy { grid-area: copy; align-self: end; }
.murcia-city { grid-area: city; align-self: center; }
.murcia-dish { grid-area: dish; }
.murcia-city img, .murcia-dish img { width: 100%; height: auto; }

.contact { padding-block: clamp(3.4rem, 6vw, 5.8rem); background: #26463a; color: var(--cream); }
.contact .eyebrow, .contact h2 em { color: var(--sun); }
.contact .eyebrow { margin-bottom: .85rem; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1.6rem 3rem; }
.contact-copy p { max-width: 27rem; font-size: clamp(1rem, 1.6vw, 1.16rem); margin-bottom: 1.2rem; }
.contact-copy .contact-address { margin: .75rem 0 0; font-size: .95rem; }

.footer { background: var(--pine-deep); color: #eee7d8; padding-block: 1.8rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-details {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid #fffaee33;
}
.footer-contact {
  display: grid;
  justify-items: start;
  gap: .1rem;
  font-style: normal;
}
.footer-contact strong { color: var(--cream); font-size: 1.12rem; }
.footer-contact .text-link { margin-top: .25rem; }
.footer-phone a { white-space: nowrap; }
.sources { margin-top: 1.3rem; padding-top: .8rem; border-top: 1px solid #fffaee33; }
.sources summary { font-size: .86rem; font-weight: 600; width: fit-content; }
.sources ul { padding-left: 1.1rem; padding-top: .55rem; }
.sources li { padding-block: .3rem; font-size: .86rem; }

dialog {
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  color: var(--text);
  background: var(--paper);
  border: 0;
  border-radius: 2px;
  padding: clamp(1rem, 3vw, 2rem);
  overscroll-behavior: contain;
}
dialog::backdrop { background: #0c1f1bdf; }
.media-dialog { width: 62rem; }
.email-dialog { width: 39rem; }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: .7rem; margin-bottom: .8rem; }
.dialog-header h2 { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1; }
.dialog-close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: inherit;
  font-size: 1.65rem;
  line-height: 1;
}
.dialog-close:hover { background: var(--sand); }
.media-dialog video { width: 100%; max-height: 65vh; background: var(--pine-deep); }
.dialog-explainer { color: var(--muted); margin-top: .55rem; font-size: .9rem; }
.email-address {
  margin-block: 1.2rem;
}
.email-address label { display: block; margin-bottom: .3rem; font-size: .9rem; font-weight: 600; }
.email-address > div { display: flex; gap: .55rem; flex-wrap: wrap; }
.email-address input {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 100%;
  padding: .7rem .75rem;
  border: 1px solid #a59d8f;
  border-radius: 2px;
  font: inherit;
  color: var(--pine);
  background: #fff;
}
.email-address input:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
.email-status { font-size: .9rem; color: var(--muted); }
.email-status:not(:empty) { margin-top: .45rem; }

@media (max-width: 900px) {
  .masthead-inner { gap: 1.2rem; }
  .split { gap: 2.25rem; }
  .split--somium { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .alert-signup { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .catalog-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-tabs a:last-child { grid-column: 1 / -1; }
  .catalog-map-hint { display: block; }
  .catalog-unit dl > div { font-size: .82rem; }
  .catalog-table { font-size: .82rem; }
}

@media (max-width: 790px) {
  .golf-story-copy, .golf-nearby, .phase-overview, .murcia-layout { grid-template-columns: minmax(0, 1fr); }
  .golf-photo img { aspect-ratio: 1.75; object-position: 43% center; }
  .murcia-layout { grid-template-areas: "copy" "city" "dish"; gap: 1.1rem; }
  .murcia-layout .section-copy { margin-bottom: .4rem; }
}

@media (max-width: 730px) {
  :root { --header: 4rem; }
  .masthead-inner { display: flex; justify-content: space-between; }
  .brand-jr { height: 2.05rem; }
  .brand-novus { height: 2.85rem; }
  .main-nav, .button--nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .8rem;
    border: 1px solid #fff5;
    font-size: .9rem;
    font-weight: 600;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-glyph {
    width: .9rem;
    height: .55rem;
    border-block: 1px solid currentColor;
  }
  .mobile-menu nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    background: var(--pine);
    border-top: 1px solid #fff3;
    padding: .55rem var(--gutter) .8rem;
    box-shadow: 0 12px 26px #11252033;
  }
  .mobile-menu nav a { text-decoration: none; padding: .6rem 0; }
  .mobile-menu nav a + a { border-top: 1px solid #fff2; }
  .hero-shade {
    background: linear-gradient(0deg, #0d211df0, #10251d97 43%, #10251d0c 82%),
      linear-gradient(90deg, #10251d70, #10251d00);
  }
  .hero-inner { padding-block: 4rem 4.05rem; }
  .hero h1 { font-size: clamp(5.6rem, 16vw, 8rem); }
  .hero h1 em { font-size: .54em; }
  .facts-grid { width: 100%; }
  .facts-grid > div { padding: .95rem .45rem; }
  .facts dt { font-size: clamp(1.35rem, 7vw, 2.1rem); white-space: nowrap; }
  .facts dd { font-size: .82rem; }
  .split, .contact-inner, .section-heading { grid-template-columns: minmax(0, 1fr); }
  .contact-inner { gap: 1.25rem; }
}

@media (max-width: 580px) {
  .golf-courses { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: clamp(32rem, 76svh, 42rem); }
  .hero-media img { object-position: center; }
  .hero h1 { font-size: clamp(4.65rem, 18.5vw, 7.5rem); }
  .hero-deck { max-width: 21rem; }
  .home-grid, .show-home { grid-template-columns: minmax(0, 1fr); }
  .home-grid { gap: 2.3rem; }
  .home-bottom { border-bottom: 1px solid #cfc7b8; }
  .price-note { border-top: 0; margin-top: .6rem; }
  .show-home { gap: .85rem; }
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .hero .button { min-height: 2.85rem; padding-inline: .72rem; font-size: .82rem; }
  .facts-grid > div { padding-inline: .3rem; }
  .facts dt { font-size: clamp(1.2rem, 6.4vw, 1.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
