@font-face {
  font-family:Futura;
  src:url(font-1.woff2) format('woff2');
  font-weight:300;
  font-display:swap;
}
@font-face {
  font-family:Futura;
  src:url(font-3.woff2) format('woff2');
  font-weight:400;
  font-display:swap;
}
@font-face {
  font-family:'Cormorant Garamond';
  src:url(cormorant-garamond.ttf) format('truetype');
  font-weight:300 700;
  font-display:swap;
}
:root {
  color-scheme:dark;
  --background:#141414;
  --panel:#0c0c0c;
  --text:#f7f5ef;
  --muted:#c7c3bb;
  --gold:#C89733;
  --line:#ffffff29;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;background:var(--background);color:var(--text);font:300 18px/1.55 Futura,Arial,sans-serif}
a {color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible {outline:2px solid var(--gold);outline-offset:4px}
h1,h2,h3,p,dl,dd {margin:0}
h1,h2 {font:400 1em/.99 'Cormorant Garamond',Georgia,serif;text-wrap:balance}
h2 {font-size:clamp(44px,5.6vw,76px);margin-bottom:22px}
h3 {font-size:clamp(22px,2.6vw,31px);font-weight:400;line-height:1.18;margin-bottom:10px}
.eyebrow {color:var(--gold);font:400 12px/1.45 Futura,sans-serif;letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px}
.project-skip {position:fixed;top:-100px;left:10px;padding:10px;background:#000;z-index:5}
.project-skip:focus {top:10px}
.project-hero {position:relative;isolation:isolate;min-height:clamp(525px,72svh,850px);display:grid;align-items:center}
.project-hero-image,.project-hero::after {position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.project-hero-image {object-fit:cover;object-position:var(--image-position,center)}
.project-hero::after {
  content:'';
  z-index:-1;
  background:linear-gradient(90deg,#000d,#0007 52%,#0002),linear-gradient(0deg,#141414 0%,transparent 38%);
}
.project-hero-copy {width:min(100%,1280px);margin:auto;padding:clamp(54px,8vw,112px) clamp(22px,6vw,82px)}
.project-mark {display:block;width:min(185px,50%);height:auto;margin-bottom:20px}
.project-hero h1 {font-size:clamp(58px,9vw,148px);max-width:1000px;line-height:.9}
.project-hero-subtitle {max-width:660px;margin:18px 0 24px;font-size:clamp(19px,3vw,33px);line-height:1.22}
.project-actions {display:flex;gap:12px 20px;align-items:center;flex-wrap:wrap}
.project-actions a,.solid,.outline {display:inline-flex;align-items:center;min-height:44px;font-weight:400;font-size:15px}
.project-actions a:not(.solid,.outline) {border-bottom:1px solid var(--gold)}
.solid,.outline {padding:9px 16px;border:1px solid var(--gold)}
.solid {color:#151515;background:var(--gold)}
.solid:hover {color:#151515;background:#e7c883}
.outline:hover {background:#ffffff12}
.project-wrap {max-width:1280px;margin:auto;padding:clamp(46px,7vw,96px) clamp(22px,6vw,82px);border-bottom:1px solid var(--line)}
.project-intro>p:not(.eyebrow),.project-note,.project-inventory>p:not(.eyebrow) {max-width:790px;color:var(--muted);margin-bottom:22px}
.project-facts,.project-levels {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line)}
.project-facts>div,.project-levels>div {background:var(--panel);padding:16px}
.project-facts dt,.project-levels dt {color:var(--gold);font-size:13px}
.project-facts dd,.project-levels dd {font-size:clamp(16px,2.2vw,22px)}
.project-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.project-feature {background:var(--panel);border:1px solid var(--line)}
.project-feature>div,.project-unit-copy {padding:clamp(16px,2.4vw,30px)}
.project-feature p,.project-unit p {color:var(--muted)}
.project-feature img {display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.project-details .project-grid+h3,.project-sources h3 {margin-top:34px}
.project-note {margin-top:17px;font-size:14px}
.project-unit {display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);background:var(--panel)}
.project-unit>img {width:100%;height:100%;min-height:230px;object-fit:cover}
.project-unit .project-actions {margin-top:20px}
.project-unit .eyebrow {color:var(--gold)}
@media(max-width:800px) {
  .project-grid,.project-facts,.project-levels {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px) {
  .project-grid,.project-unit {grid-template-columns:minmax(0,1fr)}
  .project-unit>img {aspect-ratio:16/10;min-height:0}
  .project-facts>div,.project-levels>div {padding:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Shared navigation, side rail and footer from the residence page. */
body > .top {
  position:relative;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px 22px;
  padding:25px 5%;
  background:#000;
  border-bottom:1px solid var(--line);
}
.top .logo {display:block;width:clamp(212.75px,21.275vw,293.25px);height:auto}
.top .nav {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(8px,1.2vw,20px);
  font-size:clamp(10px,.9vw,13px);
  font-weight:400;
  text-transform:uppercase;
}
.top .nav a {white-space:nowrap}
.top .nav a:hover {color:#161616}
.top .nav .textlink {padding-bottom:5px;border-bottom:1px solid var(--gold)}
.language-switch {display:flex;align-items:center;gap:7px;font-size:12px}
.language-switch button,.top .menu {
  color:inherit;
  background:transparent;
  font:inherit;
  cursor:pointer;
}
.language-switch button {padding:5px;border:0;border-bottom:1px solid transparent}
.language-switch button[aria-pressed=true] {border-color:var(--gold)}
.top .menu {display:none;border:1px solid var(--line);padding:7px 10px;min-height:44px}
.editorial-rail {display:none}
@media(min-width:1280px){
  body {padding-left:62px}
  .editorial-rail {
    position:fixed;
    z-index:20;
    inset:0 auto 0 0;
    width:62px;
    padding:27px 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
    background:#0c0c0d;
    border-right:1px solid #303030;
  }
  .editorial-rail a {
    color:#aaa;
    font-size:10px;
    letter-spacing:.13em;
    text-transform:uppercase;
    writing-mode:vertical-rl;
    transform:rotate(180deg);
  }
  .editorial-rail a:hover,.editorial-rail .rail-mark {color:var(--gold)}
  .editorial-rail .rail-mark {writing-mode:horizontal-tb;transform:none}
  .rail-edg {display:block;width:42px;height:48px;object-fit:contain}
}
@media(max-width:900px){
  body > .top {padding:15px clamp(13px,4vw,25px);gap:7px}
  .top .logo {width:min(clamp(178.25px,63.25vw,241.5px),calc(100vw - 166px))}
  .top .menu {display:block}
  .top .language-switch {margin-left:auto}
  .top .nav {display:none}
  .top .nav.open {
    display:grid;
    position:absolute;
    inset:100% 0 auto;
    justify-content:stretch;
    gap:0;
    background:#000;
    padding:10px 20px;
    font-size:14px;
    border-bottom:1px solid var(--line);
  }
  .top .nav.open a {padding:10px 3px}
}
footer {background:#000;padding:45px clamp(20px,6vw,95px) 60px;font-size:14px;color:var(--muted)}
.footer-brand-row {display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.footer-lockup {display:block;width:min(100%,300px)}
.footer-symbols {width:clamp(58px,8vw,103px)}
.footer-main {display:grid;grid-template-columns:1fr 1.5fr;gap:24px 50px;margin-top:24px}
.footer-main p+p {margin-top:12px}
.footer-contact {display:grid;gap:4px;align-content:start}
.footer-contact a {width:fit-content}
@media(max-width:670px){.footer-main{grid-template-columns:1fr}}
.project-arrow,.marquee-pause svg,.directory-save svg,.listing-media button svg {
  width:1em;height:1em;flex:none;vertical-align:-.12em;
  fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;
}

/* Tall building cards and image-first listing cards. */
.directory-section>h1 {font-size:clamp(55px,7vw,102px);margin-bottom:24px}
.directory-buildings {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:1px;
  background:var(--line);
}
.directory-building {
  position:relative;isolation:isolate;
  display:flex;align-items:flex-end;min-height:clamp(330px,34vw,460px);
  background:#0c0c0c;overflow:hidden;
}
.directory-building>img,.directory-building::after {position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.directory-building>img {object-fit:cover}
.directory-building::after {content:'';z-index:-1;background:linear-gradient(0deg,#000f,#0008 36%,#0002 82%)}
.directory-building-copy {width:100%;padding:20px 14px}
.directory-building-copy h3 {font-size:clamp(20px,2vw,28px)}
.directory-building-copy .eyebrow {font-size:10px;letter-spacing:.08em}
.directory-building-copy a {display:block;padding:8px 0;font-size:13px}
.directory-building-copy a+a {border-top:1px solid var(--gold)}
.directory-building-copy a:focus-visible {outline-offset:0}
.directory-save {
  position:absolute;right:10px;top:10px;display:inline-flex;align-items:center;gap:4px;
  color:#fff;background:#0009;border:1px solid var(--line);padding:7px;
  font:400 12px Futura,sans-serif;cursor:pointer;min-height:36px;
}
.directory-save[aria-pressed=true] {color:var(--gold)}
.directory-save[aria-pressed=true] svg {fill:currentColor}
.listing-empty[hidden] {display:none}
.listing-all-link {margin-top:24px}
.project-sr {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1050px){.directory-buildings{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
  .directory-buildings{grid-template-columns:repeat(2,minmax(0,1fr))}
  .directory-building{min-height:300px}
}
@media(max-width:390px){
  .directory-buildings{grid-template-columns:1fr}
}

/* The same black overlay as the residence hero. */
.project-hero:has(.property-finder)::after {
  background:linear-gradient(90deg,#000e 0%,#0008 46%,#0001 100%),linear-gradient(0deg,#000 0%,#0009 20%,transparent 60%);
}
.project-hero .project-actions > a[href="#unidades"] {
  min-height:0;
  padding:8px 0;
  border:0;
  border-bottom:1px solid #c89733;
  background:transparent;
  color:#fff;
}
.project-hero .project-actions > a[href="#unidades"]:hover {color:var(--gold)}

#unidades {background:#000}

footer .footer-back-to-top {
  display:grid;
  margin-inline-start:auto;
  place-items:center;
  width:44px;
  height:44px;
  color:#c89733;
  border:0;
}
.footer-back-to-top svg {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#galeria .flatiron-photo-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
.flatiron-photo-grid .project-feature:first-child img {object-fit:contain}
@media(max-width:560px) {
  #galeria .flatiron-photo-grid {grid-template-columns:1fr}
}

.flatiron-amenity-grid .project-feature img {aspect-ratio:16/9}
.flatiron-amenity-grid h4 {font-size:1.25rem;font-weight:400;margin:0 0 .5rem}
#amenidades > h3 {margin:2rem 0 1rem}

/* Sin celdas grises vacías: con 3 datos, 3 columnas; en 2 columnas, el último impar ocupa toda la fila */
.project-facts:has(> :nth-child(3):last-child),.project-levels:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:800px){
  .project-facts:has(> :nth-child(3):last-child),.project-levels:has(> :nth-child(3):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-facts>:last-child:nth-child(odd),.project-levels>:last-child:nth-child(odd){grid-column:1/-1}
}
